chore: adjust file

This commit is contained in:
QiShaoXuan
2022-12-02 23:46:36 +08:00
parent 01bca1d082
commit 94ef380d20
11 changed files with 52 additions and 132 deletions
+4 -1
View File
@@ -15,7 +15,10 @@ export const Editor = () => {
initDefaultContent(editor);
}
}, [editor]);
return <div id="editor" ref={editorContainer}></div>;
return (
<div id="editor" style={{ height: '100%' }} ref={editorContainer}></div>
);
};
export default Editor;