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} />