1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

fix tag bug

This commit is contained in:
Dick Choi
2016-10-17 08:27:30 +09:00
parent 4e5d923388
commit a52cfb2cd2

View File

@@ -40,6 +40,7 @@ export default class CodeEditor extends React.Component {
}
componentDidMount () {
this.value = this.props.value
this.editor = CodeMirror(this.refs.root, {
value: this.props.value,
lineNumbers: true,