@mirus/tiptap-editor 3.0.0 → 3.0.2
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/tiptap-editor.js +12138 -17022
- package/dist/tiptap-editor.umd.cjs +22 -26
- package/package.json +26 -36
- package/src/tiptap-editor.vue +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirus/tiptap-editor",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "custom setup for the tiptap editor",
|
|
5
5
|
"repository": "https://github.com/mirusresearch/tiptap-editor",
|
|
6
6
|
"type": "module",
|
|
@@ -14,13 +14,7 @@
|
|
|
14
14
|
"browser": {
|
|
15
15
|
"./sfc": "src/tiptap-editor.vue"
|
|
16
16
|
},
|
|
17
|
-
"files": [
|
|
18
|
-
"dist/*",
|
|
19
|
-
"src/*",
|
|
20
|
-
"public/*",
|
|
21
|
-
"*.json",
|
|
22
|
-
"*.js"
|
|
23
|
-
],
|
|
17
|
+
"files": ["dist/*", "src/*", "public/*", "*.json", "*.js"],
|
|
24
18
|
"exports": {
|
|
25
19
|
".": {
|
|
26
20
|
"import": "./dist/tiptap-editor.js",
|
|
@@ -38,38 +32,34 @@
|
|
|
38
32
|
"coverage": "vitest run --coverage"
|
|
39
33
|
},
|
|
40
34
|
"devDependencies": {
|
|
41
|
-
"@tiptap/core": "2.
|
|
42
|
-
"@tiptap/extension-bold": "2.
|
|
43
|
-
"@tiptap/extension-bullet-list": "2.
|
|
44
|
-
"@tiptap/extension-character-count": "2.
|
|
45
|
-
"@tiptap/extension-document": "2.
|
|
46
|
-
"@tiptap/extension-history": "
|
|
47
|
-
"@tiptap/extension-italic": "2.
|
|
48
|
-
"@tiptap/extension-list-item": "2.
|
|
49
|
-
"@tiptap/extension-paragraph": "2.
|
|
50
|
-
"@tiptap/extension-placeholder": "2.
|
|
51
|
-
"@tiptap/extension-text": "2.
|
|
52
|
-
"@tiptap/pm": "2.
|
|
53
|
-
"@tiptap/vue-3": "2.
|
|
54
|
-
"@vitest/coverage-v8": "
|
|
55
|
-
"@vue/test-utils": "
|
|
56
|
-
"eslint": "
|
|
57
|
-
"flush-promises": "
|
|
58
|
-
"happy-dom": "
|
|
59
|
-
"lodash.get": "
|
|
60
|
-
"lodash.unescape": "
|
|
35
|
+
"@tiptap/core": "2.6.6",
|
|
36
|
+
"@tiptap/extension-bold": "2.6.6",
|
|
37
|
+
"@tiptap/extension-bullet-list": "2.6.6",
|
|
38
|
+
"@tiptap/extension-character-count": "2.6.6",
|
|
39
|
+
"@tiptap/extension-document": "2.6.6",
|
|
40
|
+
"@tiptap/extension-history": "2.6.6",
|
|
41
|
+
"@tiptap/extension-italic": "2.6.6",
|
|
42
|
+
"@tiptap/extension-list-item": "2.6.6",
|
|
43
|
+
"@tiptap/extension-paragraph": "2.6.6",
|
|
44
|
+
"@tiptap/extension-placeholder": "2.6.6",
|
|
45
|
+
"@tiptap/extension-text": "2.6.6",
|
|
46
|
+
"@tiptap/pm": "2.6.6",
|
|
47
|
+
"@tiptap/vue-3": "2.6.6",
|
|
48
|
+
"@vitest/coverage-v8": "0.32.2",
|
|
49
|
+
"@vue/test-utils": "2.4.6",
|
|
50
|
+
"eslint": "5.15.3",
|
|
51
|
+
"flush-promises": "1.0.2",
|
|
52
|
+
"happy-dom": "9.20.3",
|
|
53
|
+
"lodash.get": "4.4.2",
|
|
54
|
+
"lodash.unescape": "4.0.1",
|
|
61
55
|
"prettier": "2.8.8",
|
|
62
56
|
"sass": "1.60.0",
|
|
63
57
|
"tippy.js": "6.3.7",
|
|
64
|
-
"vite": "
|
|
65
|
-
"vitest": "
|
|
66
|
-
"vue": "
|
|
58
|
+
"vite": "5.3.1",
|
|
59
|
+
"vitest": "1.6.0",
|
|
60
|
+
"vue": "3.4.30"
|
|
67
61
|
},
|
|
68
|
-
"browserslist": [
|
|
69
|
-
"> 1%",
|
|
70
|
-
"last 2 versions",
|
|
71
|
-
"ie >= 9"
|
|
72
|
-
],
|
|
62
|
+
"browserslist": ["> 1%", "last 2 versions", "ie >= 9"],
|
|
73
63
|
"dependencies": {
|
|
74
64
|
"@vitejs/plugin-vue": "~5.0.5",
|
|
75
65
|
"vite-plugin-css-injected-by-js": "~3.5.1"
|
package/src/tiptap-editor.vue
CHANGED
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
</template>
|
|
113
113
|
|
|
114
114
|
<script setup>
|
|
115
|
-
import { computed, ref, watch, onBeforeUnmount, onMounted
|
|
115
|
+
import { computed, ref, watch, onBeforeUnmount, onMounted } from 'vue';
|
|
116
116
|
import { useEditor, EditorContent } from '@tiptap/vue-3';
|
|
117
117
|
import Bold from '@tiptap/extension-bold';
|
|
118
118
|
import BulletList from '@tiptap/extension-bullet-list';
|