Bump RME, improve perf

This commit is contained in:
Tom Moor
2019-03-30 23:36:02 -07:00
parent 20a54bd2e9
commit 1883e77d5c
4 changed files with 13 additions and 16 deletions

View File

@ -29,13 +29,15 @@ class DocumentEditor extends React.Component<Props> {
};
render() {
const { readOnly } = this.props;
const { readOnly, defaultValue } = this.props;
return (
<React.Fragment>
<StyledEditor
ref={ref => (this.editor = ref)}
plugins={plugins}
options={{ normalize: !defaultValue }}
defaultValue={defaultValue}
{...this.props}
/>
<ClickablePadding