|
@@ -91,11 +91,11 @@ watch(
|
|
|
}
|
|
|
)
|
|
|
|
|
|
-// import { DomEditor } from '@wangeditor/editor'
|
|
|
const handleCreated = (editor) => {
|
|
|
editorRef.value = editor // 记录 editor 实例,重要!
|
|
|
+ // 打印内容
|
|
|
// console.log('editor->', editor)
|
|
|
- console.log('所有菜单 key->', editor.getAllMenuKeys()) // 所有菜单 key (可能有的不在工具栏上)
|
|
|
+ // console.log('所有菜单 key->', editor.getAllMenuKeys()) // 所有菜单 key (可能有的不在工具栏上)
|
|
|
}
|
|
|
|
|
|
const onMaxLengthFun = (editor) => {
|