1
0
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:
Junyoung Choi
2019-05-26 18:32:24 +09:00
parent c70cca2776
commit 63eb8584e7

View File

@@ -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'