mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
@@ -21,6 +21,7 @@ var CodeMirrorEditor = React.createClass({
|
|||||||
mode: 'javascript',
|
mode: 'javascript',
|
||||||
lineNumbers: false,
|
lineNumbers: false,
|
||||||
lineWrapping: true,
|
lineWrapping: true,
|
||||||
|
smartIndent: false, // javascript mode does bad things with jsx indents
|
||||||
matchBrackets: true,
|
matchBrackets: true,
|
||||||
theme: 'solarized-light',
|
theme: 'solarized-light',
|
||||||
readOnly: this.props.readOnly
|
readOnly: this.props.readOnly
|
||||||
|
|||||||
Reference in New Issue
Block a user