|
|
@@ -201,16 +201,6 @@ class CodeMirrorEditor extends AbstractEditor {
|
|
|
}
|
|
|
|
|
|
componentWillReceiveProps(nextProps) {
|
|
|
- const currentProps = this.props;
|
|
|
- // Object.entries(currentProps).forEach(([k, v]) => {
|
|
|
- // if (v !== nextProps[k]) {
|
|
|
- // console.log(`違うっぴ! key: ${k}, currentProps[k]: ${currentProps[k]}, nextProps[k]: ${nextProps[k]}`);
|
|
|
- // if (typeof v === 'object') {
|
|
|
- // console.dir(v);
|
|
|
- // console.dir(nextProps[k]);
|
|
|
- // }
|
|
|
- // }
|
|
|
- // });
|
|
|
this.initializeEditorSettings(nextProps.editorSettings);
|
|
|
|
|
|
this.initializeTextlint(nextProps.isTextlintEnabled, nextProps.editorSettings);
|