Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将 tabIndex 值传递给 draft-js 编辑器,以便它可以参与“tab-between-components”循环?
你可以像设置任何其他 React 组件一样设置它:
<Draft tabIndex='1' .../>
这在我能找到的草稿方面的任何地方都没有记录,但这是故事的 React 方面:https ://facebook.github.io/react/docs/dom-elements.html 。