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 color not applied
ammarahm-eda309504233ce
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/colorgroup.js b/apps/mobile/src/views/Editor/tiny/toolbar/colorgroup.jsindex 75ca126bc..7dc190be4 100644--- a/apps/mobile/src/views/Editor/tiny/toolbar/colorgroup.js+++ b/apps/mobile/src/views/Editor/tiny/toolbar/colorgroup.js@@ -3,6 +3,7 @@ import { ScrollView } from 'react-native';import ColorItem from './coloritem';const ColorGroup = ({group}) => {+return (<ScrollViewkeyboardDismissMode="none"@@ -21,7 +22,7 @@ const ColorGroup = ({group}) => {<ColorItemkey={item.formatValue}value={item.formatValue}- format={group.format}+ format={group.type}/>))}</ScrollView>diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/coloritem.js b/apps/mobile/src/views/Editor/tiny/toolbar/coloritem.jsindex f8facd697..a3809fd58 100644--- a/apps/mobile/src/views/Editor/tiny/toolbar/coloritem.js+++ b/apps/mobile/src/views/Editor/tiny/toolbar/coloritem.js@@ -51,6 +51,7 @@ const ColorItem = ({value, format}) => {if (selected) {formatSelection(format, null);} else {+ console.log(format,value);formatSelection(execCommands[format](value));}};diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/item.js b/apps/mobile/src/views/Editor/tiny/toolbar/item.jsindex 3568a5eb2..411df6fa4 100644--- a/apps/mobile/src/views/Editor/tiny/toolbar/item.js+++ b/apps/mobile/src/views/Editor/tiny/toolbar/item.js@@ -247,7 +247,9 @@ const ToolbarItem = ({};return (- <View>+ <View style={{+ marginHorizontal:5+ }}><PressableButtontype={selected ? 'shade' : 'transparent'}customColor={selected && color}@@ -267,7 +269,7 @@ const ToolbarItem = ({borderRadius: 5,marginTop: 5,marginBottom: 5,- marginHorizontal: 4,+}}>{type === 'tooltip' && (<ToolbarItemPin format={format} color={selected && color} />