This commit is contained in:
Tom Moor
2021-01-29 23:59:48 -08:00
parent 32f0589190
commit ee57f1ccf5

View File

@@ -23,7 +23,6 @@ type Props = {|
document: Document, document: Document,
isDraft: boolean, isDraft: boolean,
isShare: boolean, isShare: boolean,
grow?: boolean,
onSave: ({ done?: boolean, autosave?: boolean, publish?: boolean }) => any, onSave: ({ done?: boolean, autosave?: boolean, publish?: boolean }) => any,
innerRef: { current: any }, innerRef: { current: any },
|}; |};
@@ -140,6 +139,7 @@ class DocumentEditor extends React.Component<Props> {
placeholder="…the rest is up to you" placeholder="…the rest is up to you"
onHoverLink={this.handleLinkActive} onHoverLink={this.handleLinkActive}
scrollTo={window.location.hash} scrollTo={window.location.hash}
readOnly={readOnly}
grow grow
{...rest} {...rest}
/> />