1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

set autoCloseBrackets to cm defaultConfigurations

This commit is contained in:
Sosuke Suzuki
2018-01-13 15:37:14 +09:00
parent 1cbaf55cee
commit b3d3362f34

View File

@@ -63,6 +63,7 @@ export default class CodeEditor extends React.Component {
scrollPastEnd: this.props.scrollPastEnd,
inputStyle: 'textarea',
dragDrop: false,
autoCloseBrackets: true,
extraKeys: {
Tab: function (cm) {
const cursor = cm.getCursor()