@tiptap/extension-drag-handle-vue-3 3.5.3 → 3.6.1
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.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -1064,11 +1064,15 @@ interface EditorEvents {
|
|
|
1064
1064
|
type EnableRules = (AnyExtension | string)[] | boolean;
|
|
1065
1065
|
interface EditorOptions {
|
|
1066
1066
|
/**
|
|
1067
|
-
* The element
|
|
1068
|
-
* If `
|
|
1069
|
-
* If
|
|
1070
|
-
|
|
1071
|
-
|
|
1067
|
+
* The element to bind the editor to:
|
|
1068
|
+
* - If an `Element` is passed, the editor will be mounted appended to that element
|
|
1069
|
+
* - If `null` is passed, the editor will not be mounted automatically
|
|
1070
|
+
* - If an object with a `mount` property is passed, the editor will be mounted to that element
|
|
1071
|
+
* - If a function is passed, it will be called with the editor's element, which should place the editor within the document
|
|
1072
|
+
*/
|
|
1073
|
+
element: Element | {
|
|
1074
|
+
mount: HTMLElement;
|
|
1075
|
+
} | ((editor: HTMLElement) => void) | null;
|
|
1072
1076
|
/**
|
|
1073
1077
|
* The content of the editor (HTML, JSON, or a JSON array)
|
|
1074
1078
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1064,11 +1064,15 @@ interface EditorEvents {
|
|
|
1064
1064
|
type EnableRules = (AnyExtension | string)[] | boolean;
|
|
1065
1065
|
interface EditorOptions {
|
|
1066
1066
|
/**
|
|
1067
|
-
* The element
|
|
1068
|
-
* If `
|
|
1069
|
-
* If
|
|
1070
|
-
|
|
1071
|
-
|
|
1067
|
+
* The element to bind the editor to:
|
|
1068
|
+
* - If an `Element` is passed, the editor will be mounted appended to that element
|
|
1069
|
+
* - If `null` is passed, the editor will not be mounted automatically
|
|
1070
|
+
* - If an object with a `mount` property is passed, the editor will be mounted to that element
|
|
1071
|
+
* - If a function is passed, it will be called with the editor's element, which should place the editor within the document
|
|
1072
|
+
*/
|
|
1073
|
+
element: Element | {
|
|
1074
|
+
mount: HTMLElement;
|
|
1075
|
+
} | ((editor: HTMLElement) => void) | null;
|
|
1072
1076
|
/**
|
|
1073
1077
|
* The content of the editor (HTML, JSON, or a JSON array)
|
|
1074
1078
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/extension-drag-handle-vue-3",
|
|
3
3
|
"description": "drag handle extension for tiptap with vue 3",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.6.1",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
],
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"vue": "^3.0.0",
|
|
40
|
-
"@tiptap/extension-drag-handle": "^3.
|
|
41
|
-
"@tiptap/pm": "^3.
|
|
42
|
-
"@tiptap/vue-3": "^3.
|
|
40
|
+
"@tiptap/extension-drag-handle": "^3.6.1",
|
|
41
|
+
"@tiptap/pm": "^3.6.1",
|
|
42
|
+
"@tiptap/vue-3": "^3.6.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"vue": "^3.0.0",
|
|
46
|
-
"@tiptap/extension-drag-handle": "^3.
|
|
47
|
-
"@tiptap/pm": "^3.
|
|
48
|
-
"@tiptap/vue-3": "^3.
|
|
46
|
+
"@tiptap/extension-drag-handle": "^3.6.1",
|
|
47
|
+
"@tiptap/pm": "^3.6.1",
|
|
48
|
+
"@tiptap/vue-3": "^3.6.1"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsup",
|