Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: editor loading jank & simplify content loading

thecodrr1bf980ca47cf
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index 08e9cb085..360a1e47b 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -161,6 +161,7 @@ function Editor({ noteId, nonce }) {
borderBottomColor: "border",
justifyContent: "center",
alignItems: "center",
+ minHeight: "39px",
}}
/>
<AnimatedFlex
diff --git a/apps/web/src/components/editor/tinymce.js b/apps/web/src/components/editor/tinymce.js
index 6da2e6418..cf202c892 100644
--- a/apps/web/src/components/editor/tinymce.js
+++ b/apps/web/src/components/editor/tinymce.js
@@ -254,7 +254,6 @@ function TinyMCE(props) {
if (!editor.getHTML) return;
editor.getHTML().then((html) => {
- console.log("GOT CHNAGED");
onChange(html, editor);
});
}, changeInterval);