1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}