@tiptap/core 2.11.6 → 2.11.7
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/NodeView.ts +3 -1
package/dist/index.js
CHANGED
|
@@ -5142,7 +5142,8 @@ class NodeView {
|
|
|
5142
5142
|
x = handleBox.x - domBox.x + offsetX;
|
|
5143
5143
|
y = handleBox.y - domBox.y + offsetY;
|
|
5144
5144
|
}
|
|
5145
|
-
|
|
5145
|
+
const clonedNode = this.dom.cloneNode(true);
|
|
5146
|
+
(_g = event.dataTransfer) === null || _g === void 0 ? void 0 : _g.setDragImage(clonedNode, x, y);
|
|
5146
5147
|
const pos = this.getPos();
|
|
5147
5148
|
if (typeof pos !== 'number') {
|
|
5148
5149
|
return;
|