Browse Source

modify indentUnit in CodeMirrorEditor.jsx

yuto-oweseek 4 years ago
parent
commit
b4dee5b1ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

+ 1 - 1
packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

@@ -933,7 +933,7 @@ export default class CodeMirrorEditor extends AbstractEditor {
           }}
           value={this.state.value}
           options={{
-            // indentUnit: this.props.indentSize,
+            indentUnit: this.props.indentSize,
             lineWrapping: true,
             scrollPastEnd: true,
             autoRefresh: { force: true }, // force option is enabled by autorefresh.ext.js -- Yuki Takei