vdc-editor 0.0.8 → 0.1.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/lib/src/components/CoreEditor.vue.d.ts +7 -1
- package/lib/src/extensions/CodeBlock/components/CodeBlockView.vue.d.ts +24 -0
- package/lib/src/extensions/Image/components/ImageView.vue.d.ts +24 -0
- package/lib/src/extensions/ImageUpload/components/ImageUploader.vue.d.ts +24 -0
- package/lib/src/extensions/Page/computed.d.ts +0 -10
- package/lib/src/extensions/Page/core.d.ts +18 -6
- package/lib/src/extensions/Page/node-view.vue.d.ts +24 -0
- package/lib/src/extensions/SpellChecker/index.d.ts +3 -3
- package/lib/src/extensions/SuperText/components/SuperText.vue.d.ts +24 -0
- package/lib/src/extensions/VideoUpload/components/VideoUploader.vue.d.ts +24 -0
- package/lib/src/extensions/index.d.ts +1 -2
- package/lib/src/hooks/useStore.d.ts +17 -16
- package/lib/src/hooks/useSuperTextStore.d.ts +4 -4
- package/lib/src/type.d.ts +10 -6
- package/lib/style.css +1 -1
- package/lib/vdc-editor.mjs +19527 -19122
- package/lib/vdc-editor.umd.js +71 -70
- package/package.json +180 -176
- package/lib/src/components/ui/toast/use-toast.d.ts +0 -349
- package/lib/src/hooks/useConfigTiptap.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1,176 +1,180 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vdc-editor",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"private": false,
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"description": "A modern WYSIWYG rich-text editor using tiptap + Vue.js for SBS",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "vite",
|
|
9
|
-
"build:lib": "vite build",
|
|
10
|
-
"preview": "vite preview",
|
|
11
|
-
"prettier": "prettier --write .",
|
|
12
|
-
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue src",
|
|
13
|
-
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix",
|
|
14
|
-
"push": "pnpm build:lib && pnpm publish --no-git-checks --registry https://registry.npmjs.org/",
|
|
15
|
-
"prepare": "husky"
|
|
16
|
-
},
|
|
17
|
-
"config": {
|
|
18
|
-
"commitizen": {
|
|
19
|
-
"path": "@commitlint/cz-commitlint"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"keywords": [
|
|
23
|
-
"sbs editor",
|
|
24
|
-
"WYSIWYG",
|
|
25
|
-
"vue",
|
|
26
|
-
"vue.js",
|
|
27
|
-
"typescript",
|
|
28
|
-
"tiptap",
|
|
29
|
-
"editor",
|
|
30
|
-
"shadcn ui",
|
|
31
|
-
"wysiwyg",
|
|
32
|
-
"rich text",
|
|
33
|
-
"markdown"
|
|
34
|
-
],
|
|
35
|
-
"main": "./lib/vdc-editor.umd.js",
|
|
36
|
-
"module": "./lib/vdc-editor.mjs",
|
|
37
|
-
"types": "./lib/index.d.ts",
|
|
38
|
-
"exports": {
|
|
39
|
-
".": {
|
|
40
|
-
"types": "./lib/index.d.ts",
|
|
41
|
-
"import": "./lib/vdc-editor.mjs",
|
|
42
|
-
"require": "./lib/vdc-editor.umd.js"
|
|
43
|
-
},
|
|
44
|
-
"./style.css": {
|
|
45
|
-
"import": "./lib/style.css",
|
|
46
|
-
"require": "./lib/style.css"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"sideEffects": false,
|
|
50
|
-
"files": [
|
|
51
|
-
"lib",
|
|
52
|
-
"package.json",
|
|
53
|
-
"README.md",
|
|
54
|
-
"LICENSE"
|
|
55
|
-
],
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@iconify/vue": "^4.1.2",
|
|
58
|
-
"@radix-icons/vue": "^1.0.0",
|
|
59
|
-
"@saplingai/sapling-js": "^1.0.33",
|
|
60
|
-
"@tiptap/core": "^2.6.6",
|
|
61
|
-
"@tiptap/extension-blockquote": "^2.6.6",
|
|
62
|
-
"@tiptap/extension-bold": "^2.6.6",
|
|
63
|
-
"@tiptap/extension-bubble-menu": "^2.6.6",
|
|
64
|
-
"@tiptap/extension-bullet-list": "^2.6.6",
|
|
65
|
-
"@tiptap/extension-character-count": "^2.6.6",
|
|
66
|
-
"@tiptap/extension-code": "^2.6.6",
|
|
67
|
-
"@tiptap/extension-code-block": "^2.6.6",
|
|
68
|
-
"@tiptap/extension-code-block-lowlight": "^2.6.6",
|
|
69
|
-
"@tiptap/extension-color": "^2.6.6",
|
|
70
|
-
"@tiptap/extension-document": "^2.6.6",
|
|
71
|
-
"@tiptap/extension-dropcursor": "^2.6.6",
|
|
72
|
-
"@tiptap/extension-focus": "^2.6.6",
|
|
73
|
-
"@tiptap/extension-font-family": "^2.6.6",
|
|
74
|
-
"@tiptap/extension-gapcursor": "^2.6.6",
|
|
75
|
-
"@tiptap/extension-hard-break": "^2.6.6",
|
|
76
|
-
"@tiptap/extension-heading": "^2.6.6",
|
|
77
|
-
"@tiptap/extension-highlight": "^2.6.6",
|
|
78
|
-
"@tiptap/extension-history": "^2.6.6",
|
|
79
|
-
"@tiptap/extension-horizontal-rule": "^2.6.6",
|
|
80
|
-
"@tiptap/extension-image": "^2.6.6",
|
|
81
|
-
"@tiptap/extension-italic": "^2.6.6",
|
|
82
|
-
"@tiptap/extension-link": "^2.6.6",
|
|
83
|
-
"@tiptap/extension-list-item": "^2.6.6",
|
|
84
|
-
"@tiptap/extension-ordered-list": "^2.6.6",
|
|
85
|
-
"@tiptap/extension-paragraph": "^2.6.6",
|
|
86
|
-
"@tiptap/extension-placeholder": "^2.6.6",
|
|
87
|
-
"@tiptap/extension-strike": "^2.6.6",
|
|
88
|
-
"@tiptap/extension-subscript": "^2.6.6",
|
|
89
|
-
"@tiptap/extension-superscript": "^2.6.6",
|
|
90
|
-
"@tiptap/extension-table": "^2.6.6",
|
|
91
|
-
"@tiptap/extension-table-cell": "^2.6.6",
|
|
92
|
-
"@tiptap/extension-table-header": "^2.6.6",
|
|
93
|
-
"@tiptap/extension-table-row": "^2.6.6",
|
|
94
|
-
"@tiptap/extension-task-item": "^2.6.6",
|
|
95
|
-
"@tiptap/extension-task-list": "^2.6.6",
|
|
96
|
-
"@tiptap/extension-text": "^2.6.6",
|
|
97
|
-
"@tiptap/extension-text-align": "^2.6.6",
|
|
98
|
-
"@tiptap/extension-text-style": "^2.6.6",
|
|
99
|
-
"@tiptap/extension-typography": "^2.6.4",
|
|
100
|
-
"@tiptap/extension-underline": "^2.6.6",
|
|
101
|
-
"@tiptap/pm": "^2.6.6",
|
|
102
|
-
"@tiptap/suggestion": "^2.6.6",
|
|
103
|
-
"@tiptap/vue-3": "^2.6.6",
|
|
104
|
-
"@vueuse/core": "^10.9.0",
|
|
105
|
-
"axios": "^1.7.7",
|
|
106
|
-
"class-variance-authority": "^0.7.0",
|
|
107
|
-
"clsx": "^2.1.1",
|
|
108
|
-
"echo-drag-handle-plugin": "^0.0.2",
|
|
109
|
-
"file-saver": "latest",
|
|
110
|
-
"hotkeys-js": "^3.13.7",
|
|
111
|
-
"hunspell-asm": "^4.0.2",
|
|
112
|
-
"lodash": "^4.17.21",
|
|
113
|
-
"lowlight": "^3.1.0",
|
|
114
|
-
"lucide-vue-next": "^0.439.0",
|
|
115
|
-
"nanoid": "^5.0.8",
|
|
116
|
-
"prosemirror-docx": "^0.2.0",
|
|
117
|
-
"radix-vue": "^1.9.5",
|
|
118
|
-
"tailwind-merge": "^2.5.2",
|
|
119
|
-
"tailwindcss-animate": "^1.0.7",
|
|
120
|
-
"tippy.js": "^6.3.7",
|
|
121
|
-
"unplugin-auto-import": "^0.18.5",
|
|
122
|
-
"unplugin-vue-components": "^0.27.4",
|
|
123
|
-
"vaul-vue": "^0.2.0",
|
|
124
|
-
"
|
|
125
|
-
"vite-
|
|
126
|
-
"vite-
|
|
127
|
-
"
|
|
128
|
-
"vue
|
|
129
|
-
"vue-
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"@commitlint/
|
|
136
|
-
"@commitlint/
|
|
137
|
-
"@
|
|
138
|
-
"@
|
|
139
|
-
"@types/
|
|
140
|
-
"@types/
|
|
141
|
-
"@
|
|
142
|
-
"@typescript-eslint/
|
|
143
|
-
"@
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"eslint
|
|
149
|
-
"eslint-
|
|
150
|
-
"eslint-plugin-
|
|
151
|
-
"eslint-plugin-
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"postcss-
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"tailwindcss
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"unplugin-
|
|
168
|
-
"
|
|
169
|
-
"vite
|
|
170
|
-
"
|
|
171
|
-
"vue
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vdc-editor",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "A modern WYSIWYG rich-text editor using tiptap + Vue.js for SBS",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "vite",
|
|
9
|
+
"build:lib": "vite build",
|
|
10
|
+
"preview": "vite preview",
|
|
11
|
+
"prettier": "prettier --write .",
|
|
12
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue src",
|
|
13
|
+
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix",
|
|
14
|
+
"push": "pnpm build:lib && pnpm publish --no-git-checks --registry https://registry.npmjs.org/",
|
|
15
|
+
"prepare": "husky"
|
|
16
|
+
},
|
|
17
|
+
"config": {
|
|
18
|
+
"commitizen": {
|
|
19
|
+
"path": "@commitlint/cz-commitlint"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"sbs editor",
|
|
24
|
+
"WYSIWYG",
|
|
25
|
+
"vue",
|
|
26
|
+
"vue.js",
|
|
27
|
+
"typescript",
|
|
28
|
+
"tiptap",
|
|
29
|
+
"editor",
|
|
30
|
+
"shadcn ui",
|
|
31
|
+
"wysiwyg",
|
|
32
|
+
"rich text",
|
|
33
|
+
"markdown"
|
|
34
|
+
],
|
|
35
|
+
"main": "./lib/vdc-editor.umd.js",
|
|
36
|
+
"module": "./lib/vdc-editor.mjs",
|
|
37
|
+
"types": "./lib/index.d.ts",
|
|
38
|
+
"exports": {
|
|
39
|
+
".": {
|
|
40
|
+
"types": "./lib/index.d.ts",
|
|
41
|
+
"import": "./lib/vdc-editor.mjs",
|
|
42
|
+
"require": "./lib/vdc-editor.umd.js"
|
|
43
|
+
},
|
|
44
|
+
"./style.css": {
|
|
45
|
+
"import": "./lib/style.css",
|
|
46
|
+
"require": "./lib/style.css"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"sideEffects": false,
|
|
50
|
+
"files": [
|
|
51
|
+
"lib",
|
|
52
|
+
"package.json",
|
|
53
|
+
"README.md",
|
|
54
|
+
"LICENSE"
|
|
55
|
+
],
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@iconify/vue": "^4.1.2",
|
|
58
|
+
"@radix-icons/vue": "^1.0.0",
|
|
59
|
+
"@saplingai/sapling-js": "^1.0.33",
|
|
60
|
+
"@tiptap/core": "^2.6.6",
|
|
61
|
+
"@tiptap/extension-blockquote": "^2.6.6",
|
|
62
|
+
"@tiptap/extension-bold": "^2.6.6",
|
|
63
|
+
"@tiptap/extension-bubble-menu": "^2.6.6",
|
|
64
|
+
"@tiptap/extension-bullet-list": "^2.6.6",
|
|
65
|
+
"@tiptap/extension-character-count": "^2.6.6",
|
|
66
|
+
"@tiptap/extension-code": "^2.6.6",
|
|
67
|
+
"@tiptap/extension-code-block": "^2.6.6",
|
|
68
|
+
"@tiptap/extension-code-block-lowlight": "^2.6.6",
|
|
69
|
+
"@tiptap/extension-color": "^2.6.6",
|
|
70
|
+
"@tiptap/extension-document": "^2.6.6",
|
|
71
|
+
"@tiptap/extension-dropcursor": "^2.6.6",
|
|
72
|
+
"@tiptap/extension-focus": "^2.6.6",
|
|
73
|
+
"@tiptap/extension-font-family": "^2.6.6",
|
|
74
|
+
"@tiptap/extension-gapcursor": "^2.6.6",
|
|
75
|
+
"@tiptap/extension-hard-break": "^2.6.6",
|
|
76
|
+
"@tiptap/extension-heading": "^2.6.6",
|
|
77
|
+
"@tiptap/extension-highlight": "^2.6.6",
|
|
78
|
+
"@tiptap/extension-history": "^2.6.6",
|
|
79
|
+
"@tiptap/extension-horizontal-rule": "^2.6.6",
|
|
80
|
+
"@tiptap/extension-image": "^2.6.6",
|
|
81
|
+
"@tiptap/extension-italic": "^2.6.6",
|
|
82
|
+
"@tiptap/extension-link": "^2.6.6",
|
|
83
|
+
"@tiptap/extension-list-item": "^2.6.6",
|
|
84
|
+
"@tiptap/extension-ordered-list": "^2.6.6",
|
|
85
|
+
"@tiptap/extension-paragraph": "^2.6.6",
|
|
86
|
+
"@tiptap/extension-placeholder": "^2.6.6",
|
|
87
|
+
"@tiptap/extension-strike": "^2.6.6",
|
|
88
|
+
"@tiptap/extension-subscript": "^2.6.6",
|
|
89
|
+
"@tiptap/extension-superscript": "^2.6.6",
|
|
90
|
+
"@tiptap/extension-table": "^2.6.6",
|
|
91
|
+
"@tiptap/extension-table-cell": "^2.6.6",
|
|
92
|
+
"@tiptap/extension-table-header": "^2.6.6",
|
|
93
|
+
"@tiptap/extension-table-row": "^2.6.6",
|
|
94
|
+
"@tiptap/extension-task-item": "^2.6.6",
|
|
95
|
+
"@tiptap/extension-task-list": "^2.6.6",
|
|
96
|
+
"@tiptap/extension-text": "^2.6.6",
|
|
97
|
+
"@tiptap/extension-text-align": "^2.6.6",
|
|
98
|
+
"@tiptap/extension-text-style": "^2.6.6",
|
|
99
|
+
"@tiptap/extension-typography": "^2.6.4",
|
|
100
|
+
"@tiptap/extension-underline": "^2.6.6",
|
|
101
|
+
"@tiptap/pm": "^2.6.6",
|
|
102
|
+
"@tiptap/suggestion": "^2.6.6",
|
|
103
|
+
"@tiptap/vue-3": "^2.6.6",
|
|
104
|
+
"@vueuse/core": "^10.9.0",
|
|
105
|
+
"axios": "^1.7.7",
|
|
106
|
+
"class-variance-authority": "^0.7.0",
|
|
107
|
+
"clsx": "^2.1.1",
|
|
108
|
+
"echo-drag-handle-plugin": "^0.0.2",
|
|
109
|
+
"file-saver": "latest",
|
|
110
|
+
"hotkeys-js": "^3.13.7",
|
|
111
|
+
"hunspell-asm": "^4.0.2",
|
|
112
|
+
"lodash": "^4.17.21",
|
|
113
|
+
"lowlight": "^3.1.0",
|
|
114
|
+
"lucide-vue-next": "^0.439.0",
|
|
115
|
+
"nanoid": "^5.0.8",
|
|
116
|
+
"prosemirror-docx": "^0.2.0",
|
|
117
|
+
"radix-vue": "^1.9.5",
|
|
118
|
+
"tailwind-merge": "^2.5.2",
|
|
119
|
+
"tailwindcss-animate": "^1.0.7",
|
|
120
|
+
"tippy.js": "^6.3.7",
|
|
121
|
+
"unplugin-auto-import": "^0.18.5",
|
|
122
|
+
"unplugin-vue-components": "^0.27.4",
|
|
123
|
+
"vaul-vue": "^0.2.0",
|
|
124
|
+
"vdc-editor": "link:../../../../Library/pnpm/global/5/node_modules/vdc-editor",
|
|
125
|
+
"vite-plugin-wasm": "^3.2.2",
|
|
126
|
+
"vite-svg-loader": "latest",
|
|
127
|
+
"vite-tsconfig-paths": "^5.1.3",
|
|
128
|
+
"vue": ">= 3.0.0",
|
|
129
|
+
"vue-i18n": "^10.0.5",
|
|
130
|
+
"vue-router": "^4.4.5",
|
|
131
|
+
"y-protocols": "^1.0.6",
|
|
132
|
+
"zeed-dom": "^0.15.1"
|
|
133
|
+
},
|
|
134
|
+
"devDependencies": {
|
|
135
|
+
"@commitlint/cli": "^19.3.0",
|
|
136
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
137
|
+
"@commitlint/cz-commitlint": "^19.2.0",
|
|
138
|
+
"@iconify/vue": "^4.1.2",
|
|
139
|
+
"@types/express": "^4.17.21",
|
|
140
|
+
"@types/lodash": "^4.17.7",
|
|
141
|
+
"@types/node": "^22.5.4",
|
|
142
|
+
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
143
|
+
"@typescript-eslint/parser": "^7.9.0",
|
|
144
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
145
|
+
"autoprefixer": "^10.4.19",
|
|
146
|
+
"commitizen": "^4.3.0",
|
|
147
|
+
"commitlint": "^19.3.0",
|
|
148
|
+
"eslint": "^8.12.0",
|
|
149
|
+
"eslint-config-prettier": "^9.1.0",
|
|
150
|
+
"eslint-plugin-import": "^2.29.1",
|
|
151
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
152
|
+
"eslint-plugin-vue": "^9.26.0",
|
|
153
|
+
"express": "^4.19.2",
|
|
154
|
+
"husky": "^9.0.11",
|
|
155
|
+
"lint-staged": "^15.2.2",
|
|
156
|
+
"lodash-unified": "^1.0.3",
|
|
157
|
+
"postcss-prefix-selector": "^2.1.0",
|
|
158
|
+
"postcss-replace": "^2.0.1",
|
|
159
|
+
"prettier": "^3.2.5",
|
|
160
|
+
"radix-vue": "^1.7.3",
|
|
161
|
+
"rollup-plugin-visualizer": "^5.12.0",
|
|
162
|
+
"sass": "^1.75.0",
|
|
163
|
+
"tailwind-merge": "^2.3.0",
|
|
164
|
+
"tailwindcss": "^3.4.3",
|
|
165
|
+
"tailwindcss-animate": "^1.0.7",
|
|
166
|
+
"typescript": "^5.4.5",
|
|
167
|
+
"unplugin-auto-import": "^0.18.3",
|
|
168
|
+
"unplugin-vue-components": "^0.27.4",
|
|
169
|
+
"vite": "^5.2.0",
|
|
170
|
+
"vite-plugin-dts": "^3.9.0",
|
|
171
|
+
"vue": "^3.4.21",
|
|
172
|
+
"vue-tsc": "^2.0.6"
|
|
173
|
+
},
|
|
174
|
+
"peerDependencies": {
|
|
175
|
+
"vue": ">= 3.0.0"
|
|
176
|
+
},
|
|
177
|
+
"pnpm": {
|
|
178
|
+
"overrides": {}
|
|
179
|
+
}
|
|
180
|
+
}
|