fix
This commit is contained in:
@@ -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}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user