1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-13 22:12:50 +02:00

Desktop: Fixes #3337: Fixed regression when applying theme for Ace Editor (#3338)

This commit is contained in:
Caleb John
2020-06-07 02:59:00 -06:00
committed by GitHub
parent c9f1715899
commit 005bfe799c

View File

@@ -590,7 +590,7 @@ function AceEditor(props: NoteBodyEditorProps, ref: any) {
<AceEditorReact
value={props.content}
mode={props.contentMarkupLanguage === Note.MARKUP_LANGUAGE_HTML ? 'text' : 'markdown'}
theme={styles.editor.editorTheme}
theme={styles.editor.aceEditorTheme}
style={styles.editor}
width={`${width}px`}
fontSize={styles.editor.fontSize}