Adds a 60px area to the left and right of editable area (#5197
* Adds a 60px area to the left and right of editable area that allows clicking to focus paragraphs * tsc
This commit is contained in:
@@ -127,8 +127,10 @@ export type Props = {
|
||||
/** Callback when a toast message is triggered (eg "link copied") */
|
||||
onShowToast: (message: string) => void;
|
||||
className?: string;
|
||||
/** Optional style overrides */
|
||||
/** Optional style overrides for the container*/
|
||||
style?: React.CSSProperties;
|
||||
/** Optional style overrides for the contenteeditable */
|
||||
editorStyle?: React.CSSProperties;
|
||||
};
|
||||
|
||||
type State = {
|
||||
@@ -759,6 +761,7 @@ export class Editor extends React.PureComponent<
|
||||
readOnly={readOnly}
|
||||
readOnlyWriteCheckboxes={readOnlyWriteCheckboxes}
|
||||
focusedCommentId={this.props.focusedCommentId}
|
||||
editorStyle={this.props.editorStyle}
|
||||
ref={this.elementRef}
|
||||
/>
|
||||
{!readOnly && this.view && (
|
||||
|
||||
Reference in New Issue
Block a user