don't show model for now

This commit is contained in:
Bruno Windels 2019-05-13 17:45:35 +01:00
parent 9e0816c51c
commit 4ff37ca046
2 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ limitations under the License.
.model { .model {
background: lightgrey; background: lightgrey;
padding: 5px; padding: 5px;
display: block; display: none;
white-space: pre; white-space: pre;
font-size: 12px; font-size: 12px;
} }

View file

@ -70,8 +70,8 @@ export default class MessageEditor extends React.Component {
} }
} }
this.setState({autoComplete: this.model.autoComplete}); this.setState({autoComplete: this.model.autoComplete});
const modelOutput = this._editorRef.parentElement.querySelector(".model"); // const modelOutput = this._editorRef.parentElement.querySelector(".model");
modelOutput.textContent = JSON.stringify(this.model.serializeParts(), undefined, 2); // modelOutput.textContent = JSON.stringify(this.model.serializeParts(), undefined, 2);
} }
_onInput = (event) => { _onInput = (event) => {