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