1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fix export note in with split editor

This commit is contained in:
Baptiste Augrain
2018-12-15 10:22:02 +01:00
parent 2d941c3ea3
commit 418a789568

View File

@@ -136,7 +136,7 @@ class MarkdownSplitEditor extends React.Component {
}
render () {
const {config, value, storageKey, noteKey, getTitle} = this.props
const {config, value, storageKey, noteKey, getNote} = this.props
const storage = findStorage(storageKey)
let editorFontSize = parseInt(config.editor.fontSize, 10)
if (!(editorFontSize > 0 && editorFontSize < 101)) editorFontSize = 14
@@ -203,7 +203,7 @@ class MarkdownSplitEditor extends React.Component {
customCSS={config.preview.customCSS}
allowCustomCSS={config.preview.allowCustomCSS}
lineThroughCheckbox={config.preview.lineThroughCheckbox}
getTitle={getTitle}
getNote={getNote}
export={config.export}
/>
</div>