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
re-enable readonly mode settings again
ammarahm-edb39f6884c2a4
diff --git a/apps/mobile/html/Web.bundle/site/listeners.js b/apps/mobile/html/Web.bundle/site/listeners.jsindex 872f51cd5..09ca4d110 100755--- a/apps/mobile/html/Web.bundle/site/listeners.js+++ b/apps/mobile/html/Web.bundle/site/listeners.js@@ -155,7 +155,7 @@ function attachMessageListener() {case 'html':isLoading = true;globalThis.isClearingNoteData = false;- // tinymce.activeEditor.mode.set('readonly');+ tinymce.activeEditor.mode.set('readonly');if (!isInvalidValue(value)) {tinymce.activeEditor.setHTML(value);reactNativeEventHandler('noteLoaded', true);@@ -167,14 +167,14 @@ function attachMessageListener() {globalThis.isClearingNoteData = false;reactNativeEventHandler('noteLoaded', true);}+ setTimeout(function () {+ document.activeElement.blur();+ window.blur();+ tinymce.activeEditor.mode.set('design');+ document.activeElement.blur();+ window.blur();+ }, 300);- // setTimeout(function () {- // document.activeElement.blur();- // window.blur();- // tinymce.activeEditor.mode.set('design');- // document.activeElement.blur();- // window.blur();- // }, 300);info = document.querySelector(infoBar);info.querySelector('#infowords').innerText =editor.countWords() + ' words';