基本完成v1.0
This commit is contained in:
@@ -86,12 +86,9 @@ const handleChange = (editor) => {
|
||||
emits('update:html', valueHtml.value);
|
||||
};
|
||||
const handleFocus = (editor) => {
|
||||
// console.log('focus', editor);
|
||||
};
|
||||
// };
|
||||
const handleBlur = (editor) => {
|
||||
// console.log('blur', editor);
|
||||
// console.log(valueHtml.value);
|
||||
};
|
||||
// // };
|
||||
const customAlert = (info, type) => {
|
||||
// alert(`【自定义提示】${type} - ${info}`);
|
||||
};
|
||||
@@ -103,8 +100,7 @@ const customPaste = (editor, event, callback) => {
|
||||
};
|
||||
|
||||
const handleDestroyed = (editor) => {
|
||||
// console.log('destroyed', editor);
|
||||
};
|
||||
// };
|
||||
// 组件销毁时,也及时销毁编辑器
|
||||
onBeforeUnmount(() => {
|
||||
const editor = editorRef.value;
|
||||
|
||||
Reference in New Issue
Block a user