@tiptap/core 3.0.0-beta.0 → 3.0.0-beta.2

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 CHANGED
@@ -5157,7 +5157,8 @@ var NodeView = class {
5157
5157
  x = handleBox.x - domBox.x + offsetX;
5158
5158
  y = handleBox.y - domBox.y + offsetY;
5159
5159
  }
5160
- (_g = event.dataTransfer) == null ? void 0 : _g.setDragImage(this.dom, x, y);
5160
+ const clonedNode = this.dom.cloneNode(true);
5161
+ (_g = event.dataTransfer) == null ? void 0 : _g.setDragImage(clonedNode, x, y);
5161
5162
  const pos = this.getPos();
5162
5163
  if (typeof pos !== "number") {
5163
5164
  return;