Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

load images after note id loaded in editor

ammarahm-edaebfc668c82f
diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.js
index 359a63742..823369e68 100644
--- a/apps/mobile/src/views/Editor/Functions.js
+++ b/apps/mobile/src/views/Editor/Functions.js
@@ -712,6 +712,9 @@ const loadNoteInEditor = async (keepHistory = true) => {
);
} else {
post('html', content.data);
+ if (id) {
+ db.attachments.download(id);
+ }
}
setColors();