Skip to content

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

add open sans to list of fonts available

ammarahm-ed8ae3fb1e9556
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/constants.js b/apps/mobile/src/views/Editor/tiny/toolbar/constants.js
index bf1c0fdef..f7200d740 100644
--- a/apps/mobile/src/views/Editor/tiny/toolbar/constants.js
+++ b/apps/mobile/src/views/Editor/tiny/toolbar/constants.js
@@ -111,17 +111,14 @@ export const INPUT_MODE = {
export const font_names = Platform.select({
android: [
- {name: 'System Font', value: ''},
- {name: 'Times New Roman', value: 'times new roman'},
- {name: 'Serif', value: 'serif'},
- {name: 'Sans', value: 'sans-serif'},
+ {name: 'Sans', value: 'open sans'},
+ {name: 'Serif', value: 'times new roman'},
{name: 'Mono', value: 'courier'},
{name: 'Classic', value: 'courier new'}
],
ios: [
- {name: 'System Font', value: ''},
- {name: 'Sans', value: '-apple-system'},
- {name: 'Times New Roman', value: 'times new roman'},
+ {name: 'Sans Serif', value: 'open sans'},
+ {name: 'Serif', value: 'times new roman'},
{name: 'Mono', value: 'courier'},
{name: 'Classic', value: 'courier new'}
]
@@ -236,5 +233,6 @@ export const TOOLBAR_ICONS = {
imagefloatright: 'format-float-right',
imagefloatnone: 'format-float-none',
'line-break': 'keyboard-return',
- code: 'code-tags'
+ code: 'code-tags',
+ filepicker:'attachment'
};