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
handle image response if assets are null
ammarahm-edf45318eed047
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/commands.js b/apps/mobile/src/views/Editor/tiny/toolbar/commands.jsindex 46f2a3e6b..dd0ecc7c7 100644--- a/apps/mobile/src/views/Editor/tiny/toolbar/commands.js+++ b/apps/mobile/src/views/Editor/tiny/toolbar/commands.js@@ -308,7 +308,7 @@ let node = tinymce.activeEditor.selection.getNode();};const handleImageResponse = (response) => {- if (response.didCancel || response.errorMessage) {+ if (response.didCancel || response.errorMessage || !response.assets || response.assets?.length === 0) {return;}// For not support only single image picker