Skip to content

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

fix: image placeholders not showing

ammarahm-ede2c820ec1b4f
diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.js
index 2314b92a4..3d4c61597 100644
--- a/apps/mobile/src/views/Editor/Functions.js
+++ b/apps/mobile/src/views/Editor/Functions.js
@@ -222,7 +222,8 @@ async function setNote(item) {
content.type = note.content.type;
} else {
let data = await db.content.raw(note.contentId);
-
+ data = await db.content.insertPlaceholders(data,"placeholder.svg");
+
if (!data) {
content.data = '';
content.type = 'tiny';