@tiptap/core 2.11.6 → 2.11.8
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/NodeView.d.ts.map +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/Editor.ts +1 -1
- package/src/NodeView.ts +3 -1
package/dist/index.umd.js
CHANGED
|
@@ -4538,7 +4538,7 @@ img.ProseMirror-separator {
|
|
|
4538
4538
|
// @ts-ignore
|
|
4539
4539
|
const name = typeof nameOrPluginKey === 'string' ? `${nameOrPluginKey}$` : nameOrPluginKey.key;
|
|
4540
4540
|
// @ts-ignore
|
|
4541
|
-
plugins =
|
|
4541
|
+
plugins = plugins.filter(plugin => !plugin.key.startsWith(name));
|
|
4542
4542
|
});
|
|
4543
4543
|
if (prevPlugins.length === plugins.length) {
|
|
4544
4544
|
// No plugin was removed, so we don’t need to update the state
|
|
@@ -5140,7 +5140,8 @@ img.ProseMirror-separator {
|
|
|
5140
5140
|
x = handleBox.x - domBox.x + offsetX;
|
|
5141
5141
|
y = handleBox.y - domBox.y + offsetY;
|
|
5142
5142
|
}
|
|
5143
|
-
|
|
5143
|
+
const clonedNode = this.dom.cloneNode(true);
|
|
5144
|
+
(_g = event.dataTransfer) === null || _g === void 0 ? void 0 : _g.setDragImage(clonedNode, x, y);
|
|
5144
5145
|
const pos = this.getPos();
|
|
5145
5146
|
if (typeof pos !== 'number') {
|
|
5146
5147
|
return;
|