Skip to content

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

fixed text highlighting

ammarahm-edf1603abed2b9
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/coloritem.js b/apps/mobile/src/views/Editor/tiny/toolbar/coloritem.js
index 08f0cc334..bd599bed2 100644
--- a/apps/mobile/src/views/Editor/tiny/toolbar/coloritem.js
+++ b/apps/mobile/src/views/Editor/tiny/toolbar/coloritem.js
@@ -1,6 +1,5 @@
import React, { useEffect, useState } from 'react';
-import { View } from 'react-native';
-import { TouchableOpacity } from 'react-native-gesture-handler';
+import { View,TouchableOpacity } from 'react-native';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import { useTracked } from '../../../../provider';
import { eSubscribeEvent, eUnSubscribeEvent } from '../../../../services/EventManager';
@@ -52,7 +51,6 @@ const ColorItem = ({value, format}) => {
if (selected) {
formatSelection(format, null);
} else {
- console.log(format,value);
formatSelection(execCommands[format](value));
}
};
@@ -67,7 +65,7 @@ const ColorItem = ({value, format}) => {
borderColor: colors.nav,
borderRadius: 5,
height: normalize(40),
- width: normalize(50),
+ width: normalize(40),
marginRight: 5,
}}>
<View