Block validation failed for `core/pullquote` after adding theme support for editor-color-palette
Block validation failed for `core/pullquote` after adding theme support for editor-color-palette
Block validation failed for `core/pullquote` after adding theme support for editor-color-palette
Creating a Dynamic InnerBlock that updates depending on state
Updating failed message when a wp_insert_post function is hooked to save_post hook
It cannot be done, no API currently exists to add what you want to add. If we look at the component that implements this: https://github.com/WordPress/gutenberg/blob/5b01c97c6943890abb44b2154392ffcccef87b3e/packages/format-library/src/link/inline.js#L197 The InlineLinkUI wraps a component that wraps the URLPopover component, and places a child component inside it which is how the new window checkbox is added. No slots are present … Read more
Any changes to the save property will cause issues with existing blocks because static blocks save the markup in save to the post content. If you make a change, you’ll need to use the deprecated property to tell Gutenberg how to handle the differences between the save and what is in the post content. See … Read more
When registering the Custom Post Type, ensure custom-fields is present in supports => array(‘editor’,’title’, ‘custom-fields’). It’s the legacy wording of meta fields and is commonly mistakenly omitted when declaring supports in CPTs. After you make the above change, your Team CPT should work with meta values. You still may encounter in Gutenberg initially, the meta … Read more
You can programmatically disable Gutenberg network-wide by adding a must-use plugin containing this code: <?php add_filter( ‘use_block_editor_for_post’, ‘__return_false’ ); References Must-Use Plugins use_block_editor_for_post filter __return_false()
Found a JavaScript solution. If I remember correctly there was some talk about temporary solution this or related Github issues so keep that in mind. But I guess this means only server side so for only UI hiding I guess this will be fine. const wp = window.wp; // when using webpack wp.data.dispatch( ‘core/edit-post’ ).hideBlockTypes( … Read more
The problem is with your tax_query — the field (database column name) does not match the terms (database column values): $args = array( … ‘tax_query’ => array( array( ‘taxonomy’ => ‘state’, ‘field’ => ‘name’, // <- this should be set to ‘slug’ ‘terms’ => $state_slug, // because you provided term slug ), ), ); I.e. … Read more
as the person who closed the issue explained, you need to wrap your code with PopoverProvider in order for it to work correctly