@tiptap/extension-drag-handle-vue-2 3.0.2 → 3.0.4
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 +4 -10
- package/dist/index.d.ts +4 -10
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -172,7 +172,8 @@ 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
|
|
175
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig: () => Partial<MarkConfig<ExtendedOptions, ExtendedStorage>>): Mark<ExtendedOptions, ExtendedStorage>;
|
|
176
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig: Partial<MarkConfig<ExtendedOptions, ExtendedStorage>>): Mark<ExtendedOptions, ExtendedStorage>;
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Options, Storage, NodeConfig<Options, Storage>, NodeType$1> {
|
|
@@ -459,7 +460,8 @@ declare class Node$1<Options = any, Storage = any> extends Extendable<Options, S
|
|
|
459
460
|
*/
|
|
460
461
|
static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>> | (() => Partial<NodeConfig<O, S>>)): Node$1<O, S>;
|
|
461
462
|
configure(options?: Partial<Options>): Node$1<Options, Storage>;
|
|
462
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage
|
|
463
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig: () => Partial<NodeConfig<ExtendedOptions, ExtendedStorage>>): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
464
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig: Partial<NodeConfig<ExtendedOptions, ExtendedStorage>>): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
463
465
|
}
|
|
464
466
|
|
|
465
467
|
type PasteRuleMatch = {
|
|
@@ -2533,14 +2535,6 @@ declare class Editor extends EventEmitter<EditorEvents> {
|
|
|
2533
2535
|
$pos(pos: number): NodePos;
|
|
2534
2536
|
get $doc(): NodePos;
|
|
2535
2537
|
}
|
|
2536
|
-
declare global {
|
|
2537
|
-
namespace JSX {
|
|
2538
|
-
type Element = [string, ...any[]];
|
|
2539
|
-
interface IntrinsicElements {
|
|
2540
|
-
[key: string]: any;
|
|
2541
|
-
}
|
|
2542
|
-
}
|
|
2543
|
-
}
|
|
2544
2538
|
|
|
2545
2539
|
interface Commands<ReturnType = any> {
|
|
2546
2540
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -172,7 +172,8 @@ 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
|
|
175
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig: () => Partial<MarkConfig<ExtendedOptions, ExtendedStorage>>): Mark<ExtendedOptions, ExtendedStorage>;
|
|
176
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig: Partial<MarkConfig<ExtendedOptions, ExtendedStorage>>): Mark<ExtendedOptions, ExtendedStorage>;
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Options, Storage, NodeConfig<Options, Storage>, NodeType$1> {
|
|
@@ -459,7 +460,8 @@ declare class Node$1<Options = any, Storage = any> extends Extendable<Options, S
|
|
|
459
460
|
*/
|
|
460
461
|
static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>> | (() => Partial<NodeConfig<O, S>>)): Node$1<O, S>;
|
|
461
462
|
configure(options?: Partial<Options>): Node$1<Options, Storage>;
|
|
462
|
-
extend<ExtendedOptions = Options, ExtendedStorage = Storage
|
|
463
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig: () => Partial<NodeConfig<ExtendedOptions, ExtendedStorage>>): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
464
|
+
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig: Partial<NodeConfig<ExtendedOptions, ExtendedStorage>>): Node$1<ExtendedOptions, ExtendedStorage>;
|
|
463
465
|
}
|
|
464
466
|
|
|
465
467
|
type PasteRuleMatch = {
|
|
@@ -2533,14 +2535,6 @@ declare class Editor extends EventEmitter<EditorEvents> {
|
|
|
2533
2535
|
$pos(pos: number): NodePos;
|
|
2534
2536
|
get $doc(): NodePos;
|
|
2535
2537
|
}
|
|
2536
|
-
declare global {
|
|
2537
|
-
namespace JSX {
|
|
2538
|
-
type Element = [string, ...any[]];
|
|
2539
|
-
interface IntrinsicElements {
|
|
2540
|
-
[key: string]: any;
|
|
2541
|
-
}
|
|
2542
|
-
}
|
|
2543
|
-
}
|
|
2544
2538
|
|
|
2545
2539
|
interface Commands<ReturnType = any> {
|
|
2546
2540
|
}
|
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.4",
|
|
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/
|
|
41
|
-
"@tiptap/
|
|
42
|
-
"@tiptap/vue-2": "^3.0.
|
|
40
|
+
"@tiptap/extension-drag-handle": "^3.0.4",
|
|
41
|
+
"@tiptap/pm": "^3.0.4",
|
|
42
|
+
"@tiptap/vue-2": "^3.0.4"
|
|
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/
|
|
49
|
-
"@tiptap/
|
|
47
|
+
"@tiptap/extension-drag-handle": "^3.0.4",
|
|
48
|
+
"@tiptap/pm": "^3.0.4",
|
|
49
|
+
"@tiptap/vue-2": "^3.0.4"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup",
|