Adding some kind of identifier for "select header style buttons" configuration in the childBuilder
's extra options
#2432
Labels
enhancement
New feature or request
Is there an existing issue for this?
Use case
I'm adding custom buttons for all the editor's possible styling options (bold, header, etc.), but then I discovered there's no way to differentiate the header style buttons. If I want to put custom buttons, I need to know which button this is (header, h1, h2, or h3) in order to display the correct "icon" and to display if it is selected.
Proposal
I suggest adding a
Header
enum that consist ofheader
/n
,h1
,h2
&h3
, and adding this and abool isSelected
toQuillToolbarSelectHeaderStyleButtonsExtraOptions
.The text was updated successfully, but these errors were encountered: