@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.umd.js
CHANGED
|
@@ -962,7 +962,7 @@
|
|
|
962
962
|
|
|
963
963
|
function findDuplicates(items) {
|
|
964
964
|
const filtered = items.filter((el, index) => items.indexOf(el) !== index);
|
|
965
|
-
return
|
|
965
|
+
return Array.from(new Set(filtered));
|
|
966
966
|
}
|
|
967
967
|
|
|
968
968
|
class ExtensionManager {
|
|
@@ -3933,10 +3933,6 @@ img.ProseMirror-separator {
|
|
|
3933
3933
|
|
|
3934
3934
|
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
3935
3935
|
display: block;
|
|
3936
|
-
}
|
|
3937
|
-
|
|
3938
|
-
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
3939
|
-
opacity: 0
|
|
3940
3936
|
}`;
|
|
3941
3937
|
|
|
3942
3938
|
function createStyleTag(style, nonce, suffix) {
|