@tiptap/extension-drag-handle-vue-2 3.0.0-beta.15 → 3.0.0-beta.16
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 +12 -4
- package/dist/index.d.ts +12 -4
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -162,13 +162,17 @@ interface MarkConfig<Options = any, Storage = any> extends ExtendableConfig<Opti
|
|
|
162
162
|
*/
|
|
163
163
|
declare class Mark<Options = any, Storage = any> extends Extendable<Options, Storage, MarkConfig<Options, Storage>> {
|
|
164
164
|
type: string;
|
|
165
|
-
|
|
165
|
+
/**
|
|
166
|
+
* Create a new Mark instance
|
|
167
|
+
* @param config - Mark configuration object or a function that returns a configuration object
|
|
168
|
+
*/
|
|
169
|
+
static create<O = any, S = any>(config?: Partial<MarkConfig<O, S>> | (() => Partial<MarkConfig<O, S>>)): Mark<O, S>;
|
|
166
170
|
static handleExit({ editor, mark }: {
|
|
167
171
|
editor: Editor;
|
|
168
172
|
mark: Mark;
|
|
169
173
|
}): boolean;
|
|
170
174
|
configure(options?: Partial<Options>): Mark<Options, Storage>;
|
|
171
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig>): Mark<ExtendedOptions, ExtendedStorage>;
|
|
175
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig> | (() => Partial<ExtendedConfig>)): Mark<ExtendedOptions, ExtendedStorage>;
|
|
172
176
|
}
|
|
173
177
|
|
|
174
178
|
interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Options, Storage, NodeConfig<Options, Storage>, NodeType$1> {
|
|
@@ -449,9 +453,13 @@ interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Opti
|
|
|
449
453
|
*/
|
|
450
454
|
declare class Node$1<Options = any, Storage = any> extends Extendable<Options, Storage, NodeConfig<Options, Storage>> {
|
|
451
455
|
type: string;
|
|
452
|
-
|
|
456
|
+
/**
|
|
457
|
+
* Create a new Node instance
|
|
458
|
+
* @param config - Node configuration object or a function that returns a configuration object
|
|
459
|
+
*/
|
|
460
|
+
static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>> | (() => Partial<NodeConfig<O, S>>)): Node$1<O, S>;
|
|
453
461
|
configure(options?: Partial<Options>): Node$1<Options, Storage>;
|
|
454
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig>): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
462
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig> | (() => Partial<ExtendedConfig>)): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
455
463
|
}
|
|
456
464
|
|
|
457
465
|
type PasteRuleMatch = {
|
package/dist/index.d.ts
CHANGED
|
@@ -162,13 +162,17 @@ interface MarkConfig<Options = any, Storage = any> extends ExtendableConfig<Opti
|
|
|
162
162
|
*/
|
|
163
163
|
declare class Mark<Options = any, Storage = any> extends Extendable<Options, Storage, MarkConfig<Options, Storage>> {
|
|
164
164
|
type: string;
|
|
165
|
-
|
|
165
|
+
/**
|
|
166
|
+
* Create a new Mark instance
|
|
167
|
+
* @param config - Mark configuration object or a function that returns a configuration object
|
|
168
|
+
*/
|
|
169
|
+
static create<O = any, S = any>(config?: Partial<MarkConfig<O, S>> | (() => Partial<MarkConfig<O, S>>)): Mark<O, S>;
|
|
166
170
|
static handleExit({ editor, mark }: {
|
|
167
171
|
editor: Editor;
|
|
168
172
|
mark: Mark;
|
|
169
173
|
}): boolean;
|
|
170
174
|
configure(options?: Partial<Options>): Mark<Options, Storage>;
|
|
171
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig>): Mark<ExtendedOptions, ExtendedStorage>;
|
|
175
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig> | (() => Partial<ExtendedConfig>)): Mark<ExtendedOptions, ExtendedStorage>;
|
|
172
176
|
}
|
|
173
177
|
|
|
174
178
|
interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Options, Storage, NodeConfig<Options, Storage>, NodeType$1> {
|
|
@@ -449,9 +453,13 @@ interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Opti
|
|
|
449
453
|
*/
|
|
450
454
|
declare class Node$1<Options = any, Storage = any> extends Extendable<Options, Storage, NodeConfig<Options, Storage>> {
|
|
451
455
|
type: string;
|
|
452
|
-
|
|
456
|
+
/**
|
|
457
|
+
* Create a new Node instance
|
|
458
|
+
* @param config - Node configuration object or a function that returns a configuration object
|
|
459
|
+
*/
|
|
460
|
+
static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>> | (() => Partial<NodeConfig<O, S>>)): Node$1<O, S>;
|
|
453
461
|
configure(options?: Partial<Options>): Node$1<Options, Storage>;
|
|
454
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig>): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
462
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig> | (() => Partial<ExtendedConfig>)): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
455
463
|
}
|
|
456
464
|
|
|
457
465
|
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.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.16",
|
|
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.0-beta.
|
|
41
|
-
"@tiptap/pm": "3.0.0-beta.
|
|
42
|
-
"@tiptap/vue-2": "3.0.0-beta.
|
|
40
|
+
"@tiptap/extension-drag-handle": "3.0.0-beta.16",
|
|
41
|
+
"@tiptap/pm": "3.0.0-beta.16",
|
|
42
|
+
"@tiptap/vue-2": "3.0.0-beta.16"
|
|
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.0-beta.
|
|
48
|
-
"@tiptap/pm": "3.0.0-beta.
|
|
49
|
-
"@tiptap/vue-2": "3.0.0-beta.
|
|
47
|
+
"@tiptap/extension-drag-handle": "3.0.0-beta.16",
|
|
48
|
+
"@tiptap/pm": "3.0.0-beta.16",
|
|
49
|
+
"@tiptap/vue-2": "3.0.0-beta.16"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup",
|