From 1883e77d5cc8b03ce3d57d78f03678a8df43d8bf Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 30 Mar 2019 23:36:02 -0700 Subject: [PATCH] Bump RME, improve perf --- app/scenes/Document/components/Editor.js | 4 +++- app/scenes/Document/components/Header.js | 4 ++-- package.json | 2 +- yarn.lock | 19 +++++++------------ 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/app/scenes/Document/components/Editor.js b/app/scenes/Document/components/Editor.js index 67cb5879..0f9b0219 100644 --- a/app/scenes/Document/components/Editor.js +++ b/app/scenes/Document/components/Editor.js @@ -29,13 +29,15 @@ class DocumentEditor extends React.Component { }; render() { - const { readOnly } = this.props; + const { readOnly, defaultValue } = this.props; return ( (this.editor = ref)} plugins={plugins} + options={{ normalize: !defaultValue }} + defaultValue={defaultValue} {...this.props} /> {