1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

refactor: move the config down to editor setting

This commit is contained in:
mehdi
2019-07-08 19:27:23 +09:00
parent 6e45ee6a38
commit 80a63f7404
6 changed files with 28 additions and 12 deletions

View File

@@ -181,7 +181,8 @@ class MarkdownSplitEditor extends React.Component {
switchPreview={config.editor.switchPreview}
enableMarkdownLint={config.editor.enableMarkdownLint}
customMarkdownLintConfig={config.editor.customMarkdownLintConfig}
dateISO8601={config.ui.dateFormatISO8601}
// dateISO8601={config.ui.dateFormatISO8601}
dateFormatISO8601={config.editor.dateFormatISO8601}
/>
<div styleName='slider' style={{left: this.state.codeEditorWidthInPercent + '%'}} onMouseDown={e => this.handleMouseDown(e)} >
<div styleName='slider-hitbox' />