From ee57f1ccf59633237d2bb408f0cbc6984bec77b0 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 29 Jan 2021 23:59:48 -0800 Subject: [PATCH] fix --- app/scenes/Document/components/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Document/components/Editor.js b/app/scenes/Document/components/Editor.js index fd47b4152..d9626a243 100644 --- a/app/scenes/Document/components/Editor.js +++ b/app/scenes/Document/components/Editor.js @@ -23,7 +23,6 @@ type Props = {| document: Document, isDraft: boolean, isShare: boolean, - grow?: boolean, onSave: ({ done?: boolean, autosave?: boolean, publish?: boolean }) => any, innerRef: { current: any }, |}; @@ -140,6 +139,7 @@ class DocumentEditor extends React.Component { placeholder="…the rest is up to you" onHoverLink={this.handleLinkActive} scrollTo={window.location.hash} + readOnly={readOnly} grow {...rest} />