Bump RME, improve perf
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user