A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: get rid of isLoading
thecodrr831ad456a8a2
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.jsindex 066338b8a..b91f03cab 100644--- a/apps/web/src/components/editor/index.js+++ b/apps/web/src/components/editor/index.js@@ -25,8 +25,6 @@ import { FlexScrollContainer } from "../scroll-container";const ReactMCE = React.lazy(() => import("./tinymce"));function editorSetContent(editor, content) {- editor.isLoading = true;-const editorScroll = document.querySelector(".editorScroll");if (editorScroll) editorScroll.scrollTop = 0;diff --git a/apps/web/src/components/editor/tinymce.js b/apps/web/src/components/editor/tinymce.jsindex 5d706c369..17244b861 100644--- a/apps/web/src/components/editor/tinymce.js+++ b/apps/web/src/components/editor/tinymce.js@@ -236,11 +236,6 @@ function TinyMCE(props) {}const onEditorChange = debounce((e) => {- if (editor.isLoading) {- editor.isLoading = false;- return;- }-if (!editor.getHTML) return;editor.getHTML().then((html) => {onChange(html, editor);