diff --git a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js index 469fc7ab..baaf63f9 100644 --- a/browser/main/Detail/MarkdownNoteDetail.js +++ b/browser/main/Detail/MarkdownNoteDetail.js @@ -274,7 +274,7 @@ class MarkdownNoteDetail extends React.Component { render () { const { data, config, location } = this.props - const { note } = this.state + const { note, editorType } = this.state const storageKey = note.storage const folderKey = note.folder @@ -330,10 +330,10 @@ class MarkdownNoteDetail extends React.Component { />
-
this.handleSwitchMode('SPLIT')}> +
this.handleSwitchMode('SPLIT')}>
-
this.handleSwitchMode('DEFAULT')}> +
this.handleSwitchMode('DEFAULT')}>