基本完成v1.0

This commit is contained in:
xuqiuyun
2025-10-30 16:58:39 +08:00
parent d1d0b62184
commit 4b6d14a6ec
202 changed files with 1856 additions and 17458 deletions

View File

@@ -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;