@tiptap/extension-drag-handle-vue-3 3.0.5 → 3.0.6
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 +14 -4
- package/dist/index.d.ts +14 -4
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -173,8 +173,13 @@ declare class Mark<Options = any, Storage = any> extends Extendable<Options, Sto
|
|
|
173
173
|
mark: Mark;
|
|
174
174
|
}): boolean;
|
|
175
175
|
configure(options?: Partial<Options>): Mark<Options, Storage>;
|
|
176
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage
|
|
177
|
-
|
|
176
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
|
|
177
|
+
name: string;
|
|
178
|
+
options: ExtendedOptions;
|
|
179
|
+
storage: ExtendedStorage;
|
|
180
|
+
editor: Editor;
|
|
181
|
+
type: MarkType$1;
|
|
182
|
+
}>)): Mark<ExtendedOptions, ExtendedStorage>;
|
|
178
183
|
}
|
|
179
184
|
|
|
180
185
|
interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Options, Storage, NodeConfig<Options, Storage>, NodeType$1> {
|
|
@@ -461,8 +466,13 @@ declare class Node$1<Options = any, Storage = any> extends Extendable<Options, S
|
|
|
461
466
|
*/
|
|
462
467
|
static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>> | (() => Partial<NodeConfig<O, S>>)): Node$1<O, S>;
|
|
463
468
|
configure(options?: Partial<Options>): Node$1<Options, Storage>;
|
|
464
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage
|
|
465
|
-
|
|
469
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
|
|
470
|
+
name: string;
|
|
471
|
+
options: ExtendedOptions;
|
|
472
|
+
storage: ExtendedStorage;
|
|
473
|
+
editor: Editor;
|
|
474
|
+
type: NodeType$1;
|
|
475
|
+
}>)): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
466
476
|
}
|
|
467
477
|
|
|
468
478
|
type PasteRuleMatch = {
|
package/dist/index.d.ts
CHANGED
|
@@ -173,8 +173,13 @@ declare class Mark<Options = any, Storage = any> extends Extendable<Options, Sto
|
|
|
173
173
|
mark: Mark;
|
|
174
174
|
}): boolean;
|
|
175
175
|
configure(options?: Partial<Options>): Mark<Options, Storage>;
|
|
176
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage
|
|
177
|
-
|
|
176
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
|
|
177
|
+
name: string;
|
|
178
|
+
options: ExtendedOptions;
|
|
179
|
+
storage: ExtendedStorage;
|
|
180
|
+
editor: Editor;
|
|
181
|
+
type: MarkType$1;
|
|
182
|
+
}>)): Mark<ExtendedOptions, ExtendedStorage>;
|
|
178
183
|
}
|
|
179
184
|
|
|
180
185
|
interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Options, Storage, NodeConfig<Options, Storage>, NodeType$1> {
|
|
@@ -461,8 +466,13 @@ declare class Node$1<Options = any, Storage = any> extends Extendable<Options, S
|
|
|
461
466
|
*/
|
|
462
467
|
static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>> | (() => Partial<NodeConfig<O, S>>)): Node$1<O, S>;
|
|
463
468
|
configure(options?: Partial<Options>): Node$1<Options, Storage>;
|
|
464
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage
|
|
465
|
-
|
|
469
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
|
|
470
|
+
name: string;
|
|
471
|
+
options: ExtendedOptions;
|
|
472
|
+
storage: ExtendedStorage;
|
|
473
|
+
editor: Editor;
|
|
474
|
+
type: NodeType$1;
|
|
475
|
+
}>)): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
466
476
|
}
|
|
467
477
|
|
|
468
478
|
type PasteRuleMatch = {
|
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.0.
|
|
4
|
+
"version": "3.0.6",
|
|
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.0.
|
|
41
|
-
"@tiptap/pm": "^3.0.
|
|
42
|
-
"@tiptap/vue-3": "^3.0.
|
|
40
|
+
"@tiptap/extension-drag-handle": "^3.0.6",
|
|
41
|
+
"@tiptap/pm": "^3.0.6",
|
|
42
|
+
"@tiptap/vue-3": "^3.0.6"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"vue": "^3.0.0",
|
|
46
|
-
"@tiptap/extension-drag-handle": "^3.0.
|
|
47
|
-
"@tiptap/pm": "^3.0.
|
|
48
|
-
"@tiptap/vue-3": "^3.0.
|
|
46
|
+
"@tiptap/extension-drag-handle": "^3.0.6",
|
|
47
|
+
"@tiptap/pm": "^3.0.6",
|
|
48
|
+
"@tiptap/vue-3": "^3.0.6"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsup",
|