0

How does one pass a tabIndex value to the draft-js editor so it can participate in the "tab-between-components" cycle?

SteveB
  • 851
  • 2
  • 7
  • 15

1 Answers1

0

You can set it like you would any other React component:

<Draft tabIndex='1' .../>

This isn't documented anywhere on the Draft side that I can find, but here's the React side of the story: https://facebook.github.io/react/docs/dom-elements.html.

inlinestyle
  • 127
  • 5