Support adding classes to BlockListBlock in editor.BlockListBlock filter #7405
Labels
[Feature] Extensibility
The ability to extend blocks or the editing experience
[Type] Help Request
Help with setup, implementation, or "How do I?" questions.
Projects
Is your feature request related to a problem? Please describe.
I'm creating a plugin that adds support for background colors to all blocks.
Describe the solution you'd like
It would be useful if there was a separate property for the
wrapperClassName
where you can extend the list. For example:Describe alternatives you've considered
At the moment the only way is to apply classes is to override
className
throughwrapperProps
but then you need redefine all the above classes making it very unstable.What I currently opt for is providing the classes
data-*
attributes like align does but that means that themes need additional styling rather than justhas-*-background-color
.The text was updated successfully, but these errors were encountered: