Replace TinyMCE with WangEditor and update dependencies
This commit is contained in:
6
plugins/wang-editor.ts
Normal file
6
plugins/wang-editor.ts
Normal 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)
|
||||
})
|
||||
Reference in New Issue
Block a user