block-options icon indicating copy to clipboard operation
block-options copied to clipboard

Additional List Styles should be an optional feature

Open portalzine opened this issue 5 years ago • 2 comments

Really love what you are doing, but all additional block styles and options should be optional. You did a great job for most of the additional features.

But I had to manually do unregisterBlockStyles for the core/list to clean up the styles that are not wanted.

Keep up the great work. Alex

portalzine avatar Feb 11 '20 13:02 portalzine

Thanks a lot for the suggestion @portalzine! I'll add the list style on the features manager in order to make it easily removable.

phpbits avatar Feb 11 '20 13:02 phpbits

I'd also like to request that styles such as the list are not compiled in the main stylesheet and can be dequeued. With the style classnames being so generic with no scoping, it ruins the ability to apply your own styles to a generic style name such as .is-style-checked – even when the EditorsKit block styles themselves are unregistered.

I realize this is a nitpick and the easy solution is to simply use another class name – but I do think something like this should play a bit more nice / be controllable without turning into a style specificity war or who named what first in your Gutenberg toolkit.

Log1x avatar Mar 15 '20 17:03 Log1x