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
fix: clicking on hiliitecolor causes forecolor to change
ammarahm-ed4f1fc10373f7
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/commands.js b/apps/mobile/src/views/Editor/tiny/toolbar/commands.jsindex 232bfbff4..7a88320d9 100644--- a/apps/mobile/src/views/Editor/tiny/toolbar/commands.js+++ b/apps/mobile/src/views/Editor/tiny/toolbar/commands.js@@ -13,9 +13,9 @@ export const execCommands = {underline: `tinymce.activeEditor.execCommand('Underline');`,superscript: `tinymce.activeEditor.execCommand('Superscript');`,subscript: `tinymce.activeEditor.execCommand('Subscript');`,- hilitecolor: (color) =>- `tinymce.activeEditor.execCommand('ForeColor',false, '${color}');`,forecolor: (color) =>+ `tinymce.activeEditor.execCommand('ForeColor',false, '${color}');`,+ hilitecolor: (color) =>`tinymce.activeEditor.execCommand('HiliteColor',false, '${color}');`,fontname: (fontname) =>