@tiptap/extension-drag-handle-vue-2 3.20.2 → 3.20.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 +21 -0
- package/dist/index.d.ts +21 -0
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -757,6 +757,27 @@ interface ExtendableConfig<Options = any, Storage = any, Config extends Extensio
|
|
|
757
757
|
* Defines if this markdown element should indent it's child elements
|
|
758
758
|
*/
|
|
759
759
|
indentsContent?: boolean;
|
|
760
|
+
/**
|
|
761
|
+
* Lets a mark tell the Markdown serializer which inline HTML tags it can
|
|
762
|
+
* safely use when plain markdown delimiters would become ambiguous.
|
|
763
|
+
*
|
|
764
|
+
* This is mainly useful for overlapping marks. For example, bold followed
|
|
765
|
+
* by bold+italic followed by italic cannot always be written back with only
|
|
766
|
+
* `*` and `**` in a way that still parses correctly. In that case, the
|
|
767
|
+
* serializer can close the overlapping section with markdown and reopen the
|
|
768
|
+
* remaining tail with HTML instead.
|
|
769
|
+
*
|
|
770
|
+
* Example:
|
|
771
|
+
* - desired formatting: `**123` + `*456*` + `789 italic`
|
|
772
|
+
* - serialized result: `**123*456***<em>789</em>`
|
|
773
|
+
*
|
|
774
|
+
* If your extension defines custom mark names, set `htmlReopen` on that
|
|
775
|
+
* extension so the serializer can reuse its HTML form for overlap cases.
|
|
776
|
+
*/
|
|
777
|
+
htmlReopen?: {
|
|
778
|
+
open: string;
|
|
779
|
+
close: string;
|
|
780
|
+
};
|
|
760
781
|
};
|
|
761
782
|
/**
|
|
762
783
|
* This function extends the schema of the node.
|
package/dist/index.d.ts
CHANGED
|
@@ -757,6 +757,27 @@ interface ExtendableConfig<Options = any, Storage = any, Config extends Extensio
|
|
|
757
757
|
* Defines if this markdown element should indent it's child elements
|
|
758
758
|
*/
|
|
759
759
|
indentsContent?: boolean;
|
|
760
|
+
/**
|
|
761
|
+
* Lets a mark tell the Markdown serializer which inline HTML tags it can
|
|
762
|
+
* safely use when plain markdown delimiters would become ambiguous.
|
|
763
|
+
*
|
|
764
|
+
* This is mainly useful for overlapping marks. For example, bold followed
|
|
765
|
+
* by bold+italic followed by italic cannot always be written back with only
|
|
766
|
+
* `*` and `**` in a way that still parses correctly. In that case, the
|
|
767
|
+
* serializer can close the overlapping section with markdown and reopen the
|
|
768
|
+
* remaining tail with HTML instead.
|
|
769
|
+
*
|
|
770
|
+
* Example:
|
|
771
|
+
* - desired formatting: `**123` + `*456*` + `789 italic`
|
|
772
|
+
* - serialized result: `**123*456***<em>789</em>`
|
|
773
|
+
*
|
|
774
|
+
* If your extension defines custom mark names, set `htmlReopen` on that
|
|
775
|
+
* extension so the serializer can reuse its HTML form for overlap cases.
|
|
776
|
+
*/
|
|
777
|
+
htmlReopen?: {
|
|
778
|
+
open: string;
|
|
779
|
+
close: string;
|
|
780
|
+
};
|
|
760
781
|
};
|
|
761
782
|
/**
|
|
762
783
|
* This function extends the schema of the node.
|
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.20.
|
|
4
|
+
"version": "3.20.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/extension-drag-handle": "^3.20.
|
|
41
|
-
"@tiptap/pm": "^3.20.
|
|
42
|
-
"@tiptap/vue-2": "^3.20.
|
|
40
|
+
"@tiptap/extension-drag-handle": "^3.20.4",
|
|
41
|
+
"@tiptap/pm": "^3.20.4",
|
|
42
|
+
"@tiptap/vue-2": "^3.20.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.20.
|
|
48
|
-
"@tiptap/pm": "^3.20.
|
|
49
|
-
"@tiptap/vue-2": "^3.20.
|
|
47
|
+
"@tiptap/extension-drag-handle": "^3.20.4",
|
|
48
|
+
"@tiptap/pm": "^3.20.4",
|
|
49
|
+
"@tiptap/vue-2": "^3.20.4"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup",
|