@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.cjs
CHANGED
|
@@ -966,7 +966,7 @@ function pasteRulesPlugin(props) {
|
|
|
966
966
|
|
|
967
967
|
function findDuplicates(items) {
|
|
968
968
|
const filtered = items.filter((el, index) => items.indexOf(el) !== index);
|
|
969
|
-
return
|
|
969
|
+
return Array.from(new Set(filtered));
|
|
970
970
|
}
|
|
971
971
|
|
|
972
972
|
class ExtensionManager {
|
|
@@ -3937,10 +3937,6 @@ img.ProseMirror-separator {
|
|
|
3937
3937
|
|
|
3938
3938
|
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
3939
3939
|
display: block;
|
|
3940
|
-
}
|
|
3941
|
-
|
|
3942
|
-
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
3943
|
-
opacity: 0
|
|
3944
3940
|
}`;
|
|
3945
3941
|
|
|
3946
3942
|
function createStyleTag(style, nonce, suffix) {
|