@zipify/wysiwyg 3.1.3 → 3.2.0
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/cli.js +3 -3
- package/dist/wysiwyg.mjs +3842 -5311
- package/lib/extensions/proseMirror/PlaceholderPlugin.js +1 -1
- package/lib/extensions/proseMirror/ProseMirrorPlugin.js +1 -1
- package/lib/services/ContentSerializer.js +1 -1
- package/lib/services/__tests__/NodeSelector.test.js +1 -1
- package/package.json +32 -31
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref } from 'vue';
|
|
2
2
|
import { getSchema } from '@tiptap/core';
|
|
3
|
-
import { DOMParser } from '
|
|
3
|
+
import { DOMParser } from '@tiptap/pm/model';
|
|
4
4
|
import { buildExtensions } from '../extensions';
|
|
5
5
|
import { Devices } from '../enums';
|
|
6
6
|
import { ContentNormalizer } from './normalizer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zipify/wysiwyg",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Zipify modification of TipTap text editor",
|
|
5
5
|
"main": "dist/wysiwyg.mjs",
|
|
6
6
|
"bin": {
|
|
@@ -32,19 +32,20 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@popperjs/core": "^2.11.6",
|
|
35
|
-
"@tiptap/core": "2.0.0-beta.
|
|
36
|
-
"@tiptap/extension-document": "2.0.0-beta.
|
|
37
|
-
"@tiptap/extension-heading": "2.0.0-beta.
|
|
38
|
-
"@tiptap/extension-history": "2.0.0-beta.
|
|
39
|
-
"@tiptap/extension-link": "2.0.0-beta.
|
|
40
|
-
"@tiptap/extension-list-item": "2.0.0-beta.
|
|
41
|
-
"@tiptap/extension-paragraph": "2.0.0-beta.
|
|
42
|
-
"@tiptap/extension-text": "2.0.0-beta.
|
|
43
|
-
"@tiptap/
|
|
44
|
-
"
|
|
45
|
-
"
|
|
35
|
+
"@tiptap/core": "2.0.0-beta.215",
|
|
36
|
+
"@tiptap/extension-document": "2.0.0-beta.215",
|
|
37
|
+
"@tiptap/extension-heading": "2.0.0-beta.215",
|
|
38
|
+
"@tiptap/extension-history": "2.0.0-beta.215",
|
|
39
|
+
"@tiptap/extension-link": "2.0.0-beta.215",
|
|
40
|
+
"@tiptap/extension-list-item": "2.0.0-beta.215",
|
|
41
|
+
"@tiptap/extension-paragraph": "2.0.0-beta.215",
|
|
42
|
+
"@tiptap/extension-text": "2.0.0-beta.215",
|
|
43
|
+
"@tiptap/pm": "^2.0.0-beta.215",
|
|
44
|
+
"@tiptap/vue-2": "2.0.0-beta.215",
|
|
45
|
+
"commander": "^10.0.0",
|
|
46
|
+
"jsdom": "^21.1.0",
|
|
46
47
|
"lodash": "^4.17.21",
|
|
47
|
-
"simplebar": "^
|
|
48
|
+
"simplebar": "^6.2.0"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
50
51
|
"@zipify/colorpicker": "^2.2",
|
|
@@ -59,38 +60,38 @@
|
|
|
59
60
|
}
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
|
-
"@babel/core": "^7.20.
|
|
63
|
+
"@babel/core": "^7.20.12",
|
|
63
64
|
"@babel/eslint-parser": "^7.19.1",
|
|
64
65
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
65
66
|
"@babel/preset-env": "^7.20.2",
|
|
66
|
-
"@babel/runtime": "^7.20.
|
|
67
|
-
"@optimize-lodash/rollup-plugin": "^4.0.
|
|
67
|
+
"@babel/runtime": "^7.20.13",
|
|
68
|
+
"@optimize-lodash/rollup-plugin": "^4.0.3",
|
|
68
69
|
"@rollup/plugin-babel": "^6.0.3",
|
|
69
|
-
"@rollup/plugin-commonjs": "^24.0.
|
|
70
|
+
"@rollup/plugin-commonjs": "^24.0.1",
|
|
70
71
|
"@rollup/plugin-json": "^6.0.0",
|
|
71
72
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
72
73
|
"@rollup/plugin-replace": "^5.0.2",
|
|
73
|
-
"@rollup/plugin-terser": "^0.
|
|
74
|
+
"@rollup/plugin-terser": "^0.4.0",
|
|
74
75
|
"@vue/test-utils": "^1.3.3",
|
|
75
76
|
"@vue/vue2-jest": "^29.2.2",
|
|
76
77
|
"@zipify/colorpicker": "^2.2.1",
|
|
77
|
-
"@zipify/eslint-config": "^1.
|
|
78
|
-
"babel-jest": "^29.
|
|
79
|
-
"eslint": "8.
|
|
80
|
-
"eslint-plugin-import": "^2.
|
|
81
|
-
"eslint-plugin-jest": "^27.1
|
|
82
|
-
"eslint-plugin-vue": "^9.
|
|
78
|
+
"@zipify/eslint-config": "^1.1.2",
|
|
79
|
+
"babel-jest": "^29.4.2",
|
|
80
|
+
"eslint": "8.33.0",
|
|
81
|
+
"eslint-plugin-import": "^2.27.5",
|
|
82
|
+
"eslint-plugin-jest": "^27.2.1",
|
|
83
|
+
"eslint-plugin-vue": "^9.9.0",
|
|
83
84
|
"gzipper": "^7.2.0",
|
|
84
|
-
"husky": "^8.0.
|
|
85
|
-
"jest": "^29.
|
|
86
|
-
"jest-environment-jsdom": "^29.
|
|
87
|
-
"lint-staged": "^13.1.
|
|
85
|
+
"husky": "^8.0.3",
|
|
86
|
+
"jest": "^29.4.2",
|
|
87
|
+
"jest-environment-jsdom": "^29.4.2",
|
|
88
|
+
"lint-staged": "^13.1.1",
|
|
88
89
|
"postcss-html": "^1.5.0",
|
|
89
90
|
"release-it": "^15.6.0",
|
|
90
|
-
"rollup": "^3.
|
|
91
|
-
"stylelint": "^14.16.
|
|
91
|
+
"rollup": "^3.14.0",
|
|
92
|
+
"stylelint": "^14.16.1",
|
|
92
93
|
"svgo": "^3.0.2",
|
|
93
|
-
"vite": "^4.
|
|
94
|
+
"vite": "^4.1.1",
|
|
94
95
|
"vite-plugin-vue2": "^2.0.3",
|
|
95
96
|
"vue": "^2.7.14",
|
|
96
97
|
"vue-template-compiler": "^2.7.14"
|