Replace TinyMCE with WangEditor and update dependencies

This commit is contained in:
wangqiao
2025-08-28 17:41:36 +08:00
parent 3f1431f972
commit fadab4eacb
6 changed files with 478 additions and 188 deletions

6
plugins/wang-editor.ts Normal file
View File

@ -0,0 +1,6 @@
import { Editor, Toolbar } from '@wangeditor/editor-for-vue'
export default defineNuxtPlugin((nuxt) => {
nuxt.vueApp.component('WeEditor', Editor)
nuxt.vueApp.component('WeToolbar', Toolbar)
})