Skip to content

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

increase image quality

ammarahm-edf373681a3eb3
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/commands.js b/apps/mobile/src/views/Editor/tiny/toolbar/commands.js
index 594e78f3c..979c3cd70 100644
--- a/apps/mobile/src/views/Editor/tiny/toolbar/commands.js
+++ b/apps/mobile/src/views/Editor/tiny/toolbar/commands.js
@@ -60,13 +60,13 @@ export const execCommands = {
formatSelection(`
minifyImg(
"${b64}",
- 600,
+ 1024,
'image/jpeg',
(r) => {
var content = "<img style=" + "max-width:100% !important;" + "src=" + r + ">";
editor.undoManager.transact(() => editor.execCommand("mceInsertContent",false,content));
},
- 0.7,
+ 0.8,
);
`);
});