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