Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better add_theme_support( 'wp-block-styles' ) #11548

Closed
manake opened this issue Nov 6, 2018 · 1 comment
Closed

Better add_theme_support( 'wp-block-styles' ) #11548

manake opened this issue Nov 6, 2018 · 1 comment
Labels
[Type] Question Questions about the design or development of the editor.

Comments

@manake
Copy link

manake commented Nov 6, 2018

This would be awesome to have:

add_theme_support( 'wp-block-styles', array(
	'core/blockquote',
	'core/columns',
	'core/gallery',
	'core/image'
	etc.
) );

Many of the default styles are good but some I would like to dequeue and I can't.

What is the official/recommended method of doing that correctly?

@mtias mtias added the [Type] Question Questions about the design or development of the editor. label Nov 6, 2018
@mtias
Copy link
Member

mtias commented Aug 30, 2020

This is not feasible at the moment since the CSS bundles are generated for all available core blocks at build time. Take a look at the larger project here #20331 for an overview of how the project aims to be able to manage default styles in a more granular way.

@mtias mtias closed this as completed Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Question Questions about the design or development of the editor.
Projects
None yet
Development

No branches or pull requests

2 participants