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: do not scroll into view if image selected
ammarahm-edcc4acf23d52e
diff --git a/apps/mobile/src/views/Editor/tiny/tiny.js b/apps/mobile/src/views/Editor/tiny/tiny.jsindex c09f44151..a482acc26 100644--- a/apps/mobile/src/views/Editor/tiny/tiny.js+++ b/apps/mobile/src/views/Editor/tiny/tiny.js@@ -26,8 +26,11 @@ const setMarkdown = ``;const keyboardStateChanged = `(function() {- let node = tinymce.activeEditor.selection.getNode();- node.scrollIntoView({behavior: "smooth", block: "end"});+ setTimeout(function() {+ let node = tinymce.activeEditor.selection.getNode();+ if (node.nodeName === "IMG" || node.nodeName === "BODY" ) return;+ node.scrollIntoView({behavior: "smooth", block: "end"});+ },100)})();`;const blur = `