How does one pass a tabIndex value to the draft-js editor so it can participate in the "tab-between-components" cycle?
Asked
Active
Viewed 1,342 times
1 Answers
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
-
That actually doesn't work for me. I can't get the Editor input into the tab order (tabIndex = 0). – schabluk May 26 '17 at 13:23