Skip to content

Commit 02576c4

Browse files
committed
move enableMarkdownLint checkbox to customMarkdownLintConfig area (like at allow custom css)
1 parent 4263309 commit 02576c4

File tree

1 file changed

+6
-11
lines changed
  • browser/main/modals/PreferencesModal

1 file changed

+6
-11
lines changed

browser/main/modals/PreferencesModal/UiTab.js

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -600,17 +600,6 @@ class UiTab extends React.Component {
600600
</label>
601601
</div>
602602

603-
<div styleName='group-checkBoxSection'>
604-
<label>
605-
<input onChange={(e) => this.handleUIChange(e)}
606-
checked={this.state.config.editor.enableMarkdownLint}
607-
ref='enableMarkdownLint'
608-
type='checkbox'
609-
/>&nbsp;
610-
{i18n.__('Enable MarkdownLint')}
611-
</label>
612-
</div>
613-
614603
<div styleName='group-section'>
615604
<div styleName='group-section-label'>
616605
{i18n.__('Matching character pairs')}
@@ -657,6 +646,12 @@ class UiTab extends React.Component {
657646
{i18n.__('Custom MarkdownLint Rules')}
658647
</div>
659648
<div styleName='group-section-control'>
649+
<input onChange={(e) => this.handleUIChange(e)}
650+
checked={this.state.config.editor.enableMarkdownLint}
651+
ref='enableMarkdownLint'
652+
type='checkbox'
653+
/>&nbsp;
654+
{i18n.__('Enable MarkdownLint')}
660655
<div style={{fontFamily}}>
661656
<ReactCodeMirror
662657
width='400px'

0 commit comments

Comments
 (0)