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
prevent editor from focus on existing notes
ammarahm-edba888e39103f
diff --git a/apps/mobile/android/app/src/main/assets/texteditor.html b/apps/mobile/android/app/src/main/assets/texteditor.htmlindex 3a49d6a1c..9fe9b178c 100644--- a/apps/mobile/android/app/src/main/assets/texteditor.html+++ b/apps/mobile/android/app/src/main/assets/texteditor.html@@ -1603,9 +1603,9 @@const content = valueeditor.setContents(content, 'api');- setTimeout(() => {+ /* setTimeout(() => {editor.setSelection(editor.getText().length - 1, 0);- }, 500)+ }, 500) */break;case "html":@@ -1613,9 +1613,9 @@editor.clipboard.convert(value, 'api'),'silent');- setTimeout(() => {+ /* setTimeout(() => {editor.setSelection(editor.getText().length - 1, 0);- }, 0);+ }, 0); */break;default:break;diff --git a/apps/mobile/src/utils/animations.js b/apps/mobile/src/utils/animations.jsindex 3671b743e..2e8f7d165 100644--- a/apps/mobile/src/utils/animations.js+++ b/apps/mobile/src/utils/animations.js@@ -19,7 +19,7 @@ export function openEditorAnimation() {};timing(EditorOpacity, {- duration:150,+ duration:300,toValue:1,easing: Easing.in(Easing.linear),}).start();@@ -36,7 +36,7 @@ export function exitEditorAnimation() {easing: Easing.in(Easing.linear),};timing(EditorOpacity, {- duration:100,+ duration:150,toValue:0,easing: Easing.in(Easing.linear),}).start();diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.jsindex 56294407f..c3cc1c1dd 100755--- a/apps/mobile/src/views/Editor/index.js+++ b/apps/mobile/src/views/Editor/index.js@@ -397,9 +397,7 @@ const Editor = ({noMenu}) => {note.dateEdited,content.text.split(' ').length,);- } catch (e) {-- }+ } catch (e) {}if (title !== null || title === '') {post({