Skip to content

Commit e3e8e9d

Browse files
committed
feat(Html WYSYWIG): add colors and tables
Fix CorentinTh#796
1 parent 318fb6e commit e3e8e9d

File tree

6 files changed

+2080
-1411
lines changed

6 files changed

+2080
-1411
lines changed

components.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ declare module '@vue/runtime-core' {
131131
NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default']
132132
NCode: typeof import('naive-ui')['NCode']
133133
NCollapseTransition: typeof import('naive-ui')['NCollapseTransition']
134+
NColorPicker: typeof import('naive-ui')['NColorPicker']
134135
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
136+
NDivider: typeof import('naive-ui')['NDivider']
135137
NEllipsis: typeof import('naive-ui')['NEllipsis']
136138
NForm: typeof import('naive-ui')['NForm']
137139
NFormItem: typeof import('naive-ui')['NFormItem']

package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,17 @@
3838
"@it-tools/bip39": "^0.0.4",
3939
"@it-tools/oggen": "^1.3.0",
4040
"@sindresorhus/slugify": "^2.2.1",
41-
"@tiptap/pm": "2.1.6",
42-
"@tiptap/starter-kit": "2.1.6",
43-
"@tiptap/vue-3": "2.0.3",
41+
"@tiptap/extension-color": "^2.7.4",
42+
"@tiptap/extension-gapcursor": "^2.7.4",
43+
"@tiptap/extension-highlight": "^2.7.4",
44+
"@tiptap/extension-table": "^2.7.4",
45+
"@tiptap/extension-table-cell": "^2.7.4",
46+
"@tiptap/extension-table-header": "^2.7.4",
47+
"@tiptap/extension-table-row": "^2.7.4",
48+
"@tiptap/extension-text-style": "^2.7.4",
49+
"@tiptap/pm": "2.7.4",
50+
"@tiptap/starter-kit": "2.7.4",
51+
"@tiptap/vue-3": "2.7.4",
4452
"@types/figlet": "^1.5.8",
4553
"@vicons/material": "^0.12.0",
4654
"@vicons/tabler": "^0.12.0",

0 commit comments

Comments
 (0)