Skip to content

Commit

Permalink
FIX markdown input issue with theme
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinovega committed Feb 1, 2022
1 parent 946d23d commit 2f33c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inputs/MarkdownInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Proin vehicula ligula vel enim euismod, sed congue mi egestas. Nullam varius ut
}
}}
mode="markdown"
theme={props.theme | 'monokai'}
theme={props.theme || 'monokai'}
style={{ zIndex: 0, isolation: 'isolate' }}
onChange={props.onChange}
onLoad={editorInstance => {
Expand Down

0 comments on commit 2f33c82

Please sign in to comment.