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:
@@ -321,7 +321,8 @@ class MarkdownEditor 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}
|
||||
/>
|
||||
<MarkdownPreview styleName={this.state.status === 'PREVIEW'
|
||||
? 'preview'
|
||||
|
||||
Reference in New Issue
Block a user