Custom block style not working in the editor
Custom block style not working in the editor
Custom block style not working in the editor
For anyone interested, with the suggestion from @TomJNowell I managed to retry using the render_block filter and simplify the solution to the problem: Callback function (replacing example_filter_the_page_content() from my initial post): /** * Callback function used to skip intro section block from rendering. * * To be used as callback for the `render_block` filter. */ … Read more
Different style options for the same block depending where it is used
Align images to the left of the content
Answer – When the post saves a version of the block, it saves it with the current custom post type blocks attrs as its own attrs. This locks the attrs from the custom post type to the regular post at that time. A solution is to get the custom block type id and get the … Read more
Unable to remove panels
Block-based navigation and multi-language plugins
Gutenberg: where to find style settings
WordPress adds and tags into HTML blocks after saving
Block validation failed – save content vs post body content