优化Editor
parent
328cdea8b7
commit
d53fc410f9
|
|
@ -53,7 +53,7 @@ const Editor = forwardRef(({
|
|||
|
||||
const handleChange = (editor) => {
|
||||
setHtml(editor.getHtml());
|
||||
onChange?.(normalizeEmptyHtml(editor.getHtml()));
|
||||
onChange?.(normalizeEmptyHtml(editor.getHtml()) || " ");
|
||||
};
|
||||
|
||||
// 工具栏配置
|
||||
|
|
|
|||
Loading…
Reference in New Issue