mirror of https://github.com/vector-im/riot-web
don't show model for now
parent
9e0816c51c
commit
4ff37ca046
|
@ -62,7 +62,7 @@ limitations under the License.
|
|||
.model {
|
||||
background: lightgrey;
|
||||
padding: 5px;
|
||||
display: block;
|
||||
display: none;
|
||||
white-space: pre;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue