How can I prevent having a tabindex on toolbar buttons in Quill

1.1k Views Asked by At

I would like to prevent toolbar buttons in a Quill editor from having a tabindex. How can I do this?

1

There are 1 best solutions below

1
On

Quill offers two ways to get a toolbar at the two ends of the customization spectrum. One is you pass in an array of formats that you want and Quill builds the toolbar for you (in this case with a tabindex). The other is you give Quill whatever container you want (with or without a tabindex) and Quill attaches the appropriate handlers. If the former is not to your liking then the latter is the alternative.