Programatically update posts in database from one block to another using transform
Programatically update posts in database from one block to another using transform
Programatically update posts in database from one block to another using transform
Cannot find a list of data selectors for Gutenberg editor
Print custom field in Query Loop block
How can I center Gutenberg buttons on mobile?
So apparently for the site editor, you need to add the styles a little bit differently. You need to use the add_editor_style function. add_action(‘after_setup_theme’, ‘my_add_editor_styles_to_full_site_editing’); function my_add_editor_styles_to_full_site_editing() { add_theme_support(‘editor-styles’); add_editor_style(‘site-editor.css’); } Becareful how you style your stylesheet This function adds your styles inline wrapped in the .editor-styles-wrapper class.
How can I add a color picker to a custom Gutenberg block which includes the default system palette from theme.json?
Carolina Nymark pointed out, that there is possibility to filter transforms as any other settings, so one can modify the transformation like this: const { addFilter } = wp.hooks; const { assign, merge } = lodash; const { createBlock } = wp.blocks; function transformHeading(settings, name) { // Filter only heading. if (name !== ‘core/heading’) { … Read more
No, currently gradient support in the heading block has not been implemented. You can declare that it supports it in theme.json or via supports, but there is nothing in the block to read that data in and use it. Gradient support has to be built into a block, it can’t be inserted arbitrarily. The closest … Read more
How to Disable auto id attributes in Heading tag?
Double container elements on custom block in editor