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
reorder some items
ammarahm-ed8ee4a783ede3
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/config.js b/apps/mobile/src/views/Editor/tiny/toolbar/config.jsindex 7a847f3dd..da7cf4b8c 100644--- a/apps/mobile/src/views/Editor/tiny/toolbar/config.js+++ b/apps/mobile/src/views/Editor/tiny/toolbar/config.js@@ -19,18 +19,15 @@ export const TOOLBAR_CONFIG = [fullname: 'Italic',},{- format: 'strikethrough',+ format: 'underline',type: 'format',- fullname: 'Strikethrough',+ fullname: 'Underline',},{- format: 'underline',+ format: 'strikethrough',type: 'format',- fullname: 'Underline',+ fullname: 'Strikethrough',},- ],-- [{format: 'align',type: 'tooltip',@@ -64,41 +61,6 @@ export const TOOLBAR_CONFIG = [],},],- [- {- format: 'ol',- type: 'tooltip',- fullname: 'Ordered List',- group: orderedListStyles.map((style) => {- return {- format: 'ol',- formatValue: style,- fullname: style,- premium: true,- };- }),- },-- {- format: 'ul',- type: 'tooltip',- fullname: 'Unordered List',- group: unorderedListStyles.map((style) => {- return {- format: 'ul',- formatValue: style === 'default' ? 'disc' : style,- fullname: style,- premium: true,- };- }),- },- {- format: 'cl',- type: 'format',- fullname: 'Checklist',- premium: true,- },- ],[{format: 'fontsize',@@ -130,35 +92,12 @@ export const TOOLBAR_CONFIG = [}),},{- format: 'hilitecolor',- type: 'tooltip',- fullname: 'Text Highlight Color',- groupType: 'hilitecolor',- group: editor_colors.map((item) => {- return {- format: 'hilitecolor',- formatValue: item,- premium: true,- fullname: item,- };- }),- },- {- format: 'forecolor',- type: 'tooltip',- fullname: 'Text Color',- groupType: 'forecolor',- group: editor_colors.map((item) => {- return {- format: 'forecolor',- formatValue: item,- fullname: item,- premium: true,- };- }),+ format: 'h2',+ type: 'format',+ showTitle: false,+ premium: true,+ fullname: 'Heading 2',},- ],- [{format: 'header',type: 'tooltip',@@ -217,6 +156,72 @@ export const TOOLBAR_CONFIG = [],},],+ [+ {+ format: 'ol',+ type: 'tooltip',+ fullname: 'Ordered List',+ group: orderedListStyles.map((style) => {+ return {+ format: 'ol',+ formatValue: style,+ fullname: style,+ premium: true,+ };+ }),+ },++ {+ format: 'ul',+ type: 'tooltip',+ fullname: 'Unordered List',+ group: unorderedListStyles.map((style) => {+ return {+ format: 'ul',+ formatValue: style === 'default' ? 'disc' : style,+ fullname: style,+ premium: true,+ };+ }),+ },+ {+ format: 'cl',+ type: 'format',+ fullname: 'Checklist',+ premium: true,+ },+ ],+ [++ {+ format: 'hilitecolor',+ type: 'tooltip',+ fullname: 'Text Highlight Color',+ groupType: 'hilitecolor',+ group: editor_colors.map((item) => {+ return {+ format: 'hilitecolor',+ formatValue: item,+ premium: true,+ fullname: item,+ };+ }),+ },+ {+ format: 'forecolor',+ type: 'tooltip',+ fullname: 'Text Color',+ groupType: 'forecolor',+ group: editor_colors.map((item) => {+ return {+ format: 'forecolor',+ formatValue: item,+ fullname: item,+ premium: true,+ };+ }),+ },+ ],[{@@ -245,21 +250,6 @@ export const TOOLBAR_CONFIG = [premium: true,},],- [- {- format: 'image',- type: 'format',- fullname: 'Image',- premium: true,- },- {- format: 'video',- type: 'format',- groupType: 'video',- fullname: 'Video',- premium: true,- },- ],[{format: 'outdent',@@ -293,6 +283,22 @@ export const TOOLBAR_CONFIG = [groupType: 'table',},],+ [+ {+ format: 'image',+ type: 'format',+ fullname: 'Image',+ premium: true,+ },+ {+ format: 'video',+ type: 'format',+ groupType: 'video',+ fullname: 'Video',+ premium: true,+ },+ ],+[{format: 'ltr',@@ -317,5 +323,10 @@ export const TOOLBAR_CONFIG = [type: 'format',fullname: 'Remove Formatting',},+ /* {+ format: 'settings',+ type: 'settings',+ fullname: 'Editor Settings',+ }, */],];