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 h1 heading not added in editor
ammarahm-eddc37c0dfb078
diff --git a/apps/mobile/src/screens/editor/tiny/toolbar/commands.js b/apps/mobile/src/screens/editor/tiny/toolbar/commands.jsindex 3c5f513d6..ab91112bf 100644--- a/apps/mobile/src/screens/editor/tiny/toolbar/commands.js+++ b/apps/mobile/src/screens/editor/tiny/toolbar/commands.js@@ -35,7 +35,7 @@ export const execCommands = {fontsize: size => `tinymce.activeEditor.execCommand('FontSize', false, '${size}');`,removeformat: `tinymce.activeEditor.execCommand('RemoveFormat');`,p: `tinymce.activeEditor.execCommand('FormatBlock', false, 'p');`,- h1: `tinymce.activeEditor.execCommand('FormatBlock', false, 'h2');`,+ h1: `tinymce.activeEditor.execCommand('FormatBlock', false, 'h1');`,h2: `tinymce.activeEditor.execCommand('FormatBlock', false, 'h2');`,h3: `tinymce.activeEditor.execCommand('FormatBlock', false, 'h3');`,h4: `tinymce.activeEditor.execCommand('FormatBlock', false, 'h4');`,