Skip to content

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

fix toolbar issue

ammarahm-ed14d542bb8e03
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/item.js b/apps/mobile/src/views/Editor/tiny/toolbar/item.js
index 3b1da907c..3ce24b512 100644
--- a/apps/mobile/src/views/Editor/tiny/toolbar/item.js
+++ b/apps/mobile/src/views/Editor/tiny/toolbar/item.js
@@ -235,7 +235,7 @@ const ToolbarItem = ({
}
if (format === 'image') {
- execCommands.image();
+ await execCommands.image();
return;
}