1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +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'
/> 
{i18n.__('Enable MarkdownLint')}
<div style={{fontFamily}}>
<div style={{fontFamily, display: this.state.config.editor.enableMarkdownLint ? 'block' : 'none'}}>
<ReactCodeMirror
width='400px'
height='200px'