@tiptap/core 2.5.8 → 3.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -5
- package/dist/index.umd.js.map +1 -1
- package/dist/packages/core/src/Extension.d.ts +1 -1
- package/dist/packages/core/src/Mark.d.ts +1 -1
- package/dist/packages/core/src/Node.d.ts +1 -1
- package/dist/packages/core/src/style.d.ts +1 -1
- package/package.json +3 -3
- package/src/Extension.ts +1 -1
- package/src/Mark.ts +1 -1
- package/src/Node.ts +1 -1
- package/src/style.ts +0 -4
- package/src/utilities/findDuplicates.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -964,7 +964,7 @@ function pasteRulesPlugin(props) {
|
|
|
964
964
|
|
|
965
965
|
function findDuplicates(items) {
|
|
966
966
|
const filtered = items.filter((el, index) => items.indexOf(el) !== index);
|
|
967
|
-
return
|
|
967
|
+
return Array.from(new Set(filtered));
|
|
968
968
|
}
|
|
969
969
|
|
|
970
970
|
class ExtensionManager {
|
|
@@ -3935,10 +3935,6 @@ img.ProseMirror-separator {
|
|
|
3935
3935
|
|
|
3936
3936
|
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
3937
3937
|
display: block;
|
|
3938
|
-
}
|
|
3939
|
-
|
|
3940
|
-
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
3941
|
-
opacity: 0
|
|
3942
3938
|
}`;
|
|
3943
3939
|
|
|
3944
3940
|
function createStyleTag(style, nonce, suffix) {
|