mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
Hide markdown lint settings when markdown lint is disabled
This commit is contained in:
@@ -652,7 +652,7 @@ class UiTab extends React.Component {
|
|||||||
type='checkbox'
|
type='checkbox'
|
||||||
/>
|
/>
|
||||||
{i18n.__('Enable MarkdownLint')}
|
{i18n.__('Enable MarkdownLint')}
|
||||||
<div style={{fontFamily}}>
|
<div style={{fontFamily, display: this.state.config.editor.enableMarkdownLint ? 'block' : 'none'}}>
|
||||||
<ReactCodeMirror
|
<ReactCodeMirror
|
||||||
width='400px'
|
width='400px'
|
||||||
height='200px'
|
height='200px'
|
||||||
|
|||||||
Reference in New Issue
Block a user