mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
move enableMarkdownLint checkbox to customMarkdownLintConfig area (like at allow custom css)
This commit is contained in:
@@ -600,17 +600,6 @@ class UiTab extends React.Component {
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div styleName='group-checkBoxSection'>
|
|
||||||
<label>
|
|
||||||
<input onChange={(e) => this.handleUIChange(e)}
|
|
||||||
checked={this.state.config.editor.enableMarkdownLint}
|
|
||||||
ref='enableMarkdownLint'
|
|
||||||
type='checkbox'
|
|
||||||
/>
|
|
||||||
{i18n.__('Enable MarkdownLint')}
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div styleName='group-section'>
|
<div styleName='group-section'>
|
||||||
<div styleName='group-section-label'>
|
<div styleName='group-section-label'>
|
||||||
{i18n.__('Matching character pairs')}
|
{i18n.__('Matching character pairs')}
|
||||||
@@ -657,6 +646,12 @@ class UiTab extends React.Component {
|
|||||||
{i18n.__('Custom MarkdownLint Rules')}
|
{i18n.__('Custom MarkdownLint Rules')}
|
||||||
</div>
|
</div>
|
||||||
<div styleName='group-section-control'>
|
<div styleName='group-section-control'>
|
||||||
|
<input onChange={(e) => this.handleUIChange(e)}
|
||||||
|
checked={this.state.config.editor.enableMarkdownLint}
|
||||||
|
ref='enableMarkdownLint'
|
||||||
|
type='checkbox'
|
||||||
|
/>
|
||||||
|
{i18n.__('Enable MarkdownLint')}
|
||||||
<div style={{fontFamily}}>
|
<div style={{fontFamily}}>
|
||||||
<ReactCodeMirror
|
<ReactCodeMirror
|
||||||
width='400px'
|
width='400px'
|
||||||
|
|||||||
Reference in New Issue
Block a user