You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
don't show model for now
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user