don't show model for now
This commit is contained in:
parent
9e0816c51c
commit
4ff37ca046
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue