-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
After upgrading to draft-js 0.11.1, the following deprecation warnings appear in the console:
Supplying an `onDownArrow` prop to `DraftEditor` has been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/RG31RJ).
in DraftEditor (created by EditorWrapper)
in EditorWrapper (created by KeyCommandController(EditorWrapper))
in KeyCommandController(EditorWrapper) (created by Anonymous)
...
Supplying an `onEscape` prop to `DraftEditor` has been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/RG31RJ).
Supplying an `onTab` prop to `DraftEditor` has been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/RG31RJ).
Supplying an `onUpArrow` prop to `DraftEditor` has been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/RG31RJ).
It looks like the default key bindings have changed and the convenience on* handlers have been deprecated.
Metadata
Metadata
Assignees
Labels
No labels