@tiptap/core 3.10.0 → 3.10.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 +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -6
- package/dist/index.d.ts +11 -6
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +1 -1
- package/src/lib/{ResizableNodeview.ts → ResizableNodeView.ts} +11 -5
- package/src/lib/index.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -32,6 +32,7 @@ __export(index_exports, {
|
|
|
32
32
|
NodePos: () => NodePos,
|
|
33
33
|
NodeView: () => NodeView,
|
|
34
34
|
PasteRule: () => PasteRule,
|
|
35
|
+
ResizableNodeView: () => ResizableNodeView,
|
|
35
36
|
ResizableNodeview: () => ResizableNodeview,
|
|
36
37
|
Tracker: () => Tracker,
|
|
37
38
|
callOrReturn: () => callOrReturn,
|
|
@@ -5141,13 +5142,13 @@ var h = (tag, attributes) => {
|
|
|
5141
5142
|
return [tag, rest, children];
|
|
5142
5143
|
};
|
|
5143
5144
|
|
|
5144
|
-
// src/lib/
|
|
5145
|
+
// src/lib/ResizableNodeView.ts
|
|
5145
5146
|
var isTouchEvent = (e) => {
|
|
5146
5147
|
return "touches" in e;
|
|
5147
5148
|
};
|
|
5148
|
-
var
|
|
5149
|
+
var ResizableNodeView = class {
|
|
5149
5150
|
/**
|
|
5150
|
-
* Creates a new
|
|
5151
|
+
* Creates a new ResizableNodeView instance.
|
|
5151
5152
|
*
|
|
5152
5153
|
* The constructor sets up the resize handles, applies initial sizing from
|
|
5153
5154
|
* node attributes, and configures all resize behavior options.
|
|
@@ -5673,6 +5674,7 @@ var ResizableNodeview = class {
|
|
|
5673
5674
|
};
|
|
5674
5675
|
}
|
|
5675
5676
|
};
|
|
5677
|
+
var ResizableNodeview = ResizableNodeView;
|
|
5676
5678
|
|
|
5677
5679
|
// src/utilities/canInsertNode.ts
|
|
5678
5680
|
var import_state22 = require("@tiptap/pm/state");
|
|
@@ -6625,6 +6627,7 @@ var Tracker = class {
|
|
|
6625
6627
|
NodePos,
|
|
6626
6628
|
NodeView,
|
|
6627
6629
|
PasteRule,
|
|
6630
|
+
ResizableNodeView,
|
|
6628
6631
|
ResizableNodeview,
|
|
6629
6632
|
Tracker,
|
|
6630
6633
|
callOrReturn,
|