Closed MariaShyn closed 5 years ago
autoCloseBrackets param seems to not work
const options = { lineNumbers: true, theme: 'material', mode: 'javascript', autoCloseBrackets: true, firstLineNumber: 1, lineWrapping: false, tabSize: 4 } ________________ <CodeMirror value={value} options={options} onBeforeChange={(editor, data, val) => { this.setState({ value: val }); }} onChange={(editor, data, header) => { onChange(header); }} />
Thanks in advance!
@MariaShyn are you including the addon/edit/closebrackets.js codemirror addon?
autoCloseBrackets param seems to not work
Thanks in advance!