Skip to content

Commit

Permalink
Update DraftailEditor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dwjohnston authored Feb 17, 2021
1 parent ec38306 commit 07e765d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lib/components/DraftailEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ type Props = {|
autoComplete: ?string,
autoCorrect: ?string,
ariaDescribedBy: ?string,
ariaExpanded: ?boolean,
ariaLabel: ?string,
ariaLabelledBy: ?string,
ariaMultiline: ?boolean,
ariaOwneeID: ?string,
ariaRequired: ?string,
blockTypes: $ReadOnlyArray<{|
...ControlProp,
// Unique type shared between block instances.
Expand Down Expand Up @@ -843,6 +849,12 @@ class DraftailEditor extends Component<Props, State> {
autoComplete,
autoCorrect,
ariaDescribedBy,
ariaExpanded,
ariaLabel,
ariaLabelledBy,
ariaMultiline,
ariaOwneeID,
ariaRequired,
blockTypes,
inlineStyles,
entityTypes,
Expand Down Expand Up @@ -920,6 +932,12 @@ class DraftailEditor extends Component<Props, State> {
autoComplete={autoComplete}
autoCorrect={autoCorrect}
ariaDescribedBy={ariaDescribedBy}
ariaExpanded={ariaExpanded}
ariaLabel={ariaLabel}
ariaLabelledBy={ariaLabelledBy}
ariaMultiline={ariaMultiline}
ariaOwneeID={ariaOwneeID}
ariaRequired={ariaRequired}
handleReturn={this.handleReturn}
keyBindingFn={behavior.getKeyBindingFn(
blockTypes,
Expand Down

0 comments on commit 07e765d

Please sign in to comment.