1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

Removing checkmark and fixed Code Editor indentation

This commit is contained in:
Guilherme Silva
2018-11-08 13:25:22 +00:00
parent ab65fb7a5c
commit 441c70b388
8 changed files with 530 additions and 475 deletions

View File

@@ -27,17 +27,12 @@ class SnippetEditor extends React.Component {
dragDrop: false,
foldGutter: true,
gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter'],
autoCloseBrackets: (this.enableBracketMatching ? {
pairs: '()[]{}\'\'""$$**``ll',
triples: '```"""\'\'\'',
explode: '[]{}``$$',
autoCloseBrackets: {
pairs: this.props.matchingPairs,
triples: this.props.matchingTriples,
explode: this.props.explodingPairs,
override: true
}: {
pairs: '',
triples: '',
explode: '',
override: true
}),
},
mode: 'null'
})
this.cm.setSize('100%', '100%')