don't show model for now

pull/21833/head
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 {
background: lightgrey;
padding: 5px;
display: block;
display: none;
white-space: pre;
font-size: 12px;
}

View File

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