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 empty content loaded in editor
ammarahm-edbf4213b42b64
diff --git a/apps/mobile/html/Web.bundle/site/listeners.js b/apps/mobile/html/Web.bundle/site/listeners.jsindex da5ed04e2..cc4c0738e 100755--- a/apps/mobile/html/Web.bundle/site/listeners.js+++ b/apps/mobile/html/Web.bundle/site/listeners.js@@ -156,10 +156,11 @@ function attachMessageListener() {isLoading = true;globalThis.isClearingNoteData = false;tinymce.activeEditor.mode.set('readonly');- if (isInvalidValue(value)) {- tinymce.activeEditor.setContent('');- } else {+ if (!isInvalidValue(value)) {tinymce.activeEditor.setContent(value);+ } else {+ globalThis.isClearingNoteData = false;+ reactNativeEventHandler('noteLoaded', true);}setTimeout(function () {