diff --git a/src/app.js b/src/app.js index e45a5ebe..2e18252e 100644 --- a/src/app.js +++ b/src/app.js @@ -21,7 +21,7 @@ const EDITOR_TEMPLATE = ` XML CSS -
+ `; class TabbedEditor extends Component { @@ -59,7 +59,7 @@ class TabbedEditor extends Component { }); } - componentDidUpdate() { + patched() { if (this.editor) { window.dispatchEvent(new Event("resize")); this.editor.setValue(this.props[this.state.currentTab], -1); @@ -131,7 +131,7 @@ const TEMPLATE = `