Gutenberg blocks not full width
.wp-block { max-width: unset; } If it is your custom block add to editor_style . If not include css file with hook enqueue_block_editor_assets
.wp-block { max-width: unset; } If it is your custom block add to editor_style . If not include css file with hook enqueue_block_editor_assets
How to activate a new prop that a block introduces in a new release?
I want the title of the block to show after it’s been added so that they can see which blocks have been used. This information is already available and displayed in multiple places, for example When hovering over a block: In the sidebar when the block is selected: In the breadcrumb bar at the bottom: … Read more
Two content editors (gutenberg blocks) on the same page
Is there an obvious error in this React code for customizing a Gutenberg Block?
Create blockquote and edit it as HTML using right-click (some accuracy required as everywhere in Gutenberg). The result of quick tryout:
Theme options missing from edit page
You can load the css via PHP instead , add_action(‘wpmm_head’, ‘wpmm_custom_css’); function wpmm_custom_css(){ echo ‘<style> #intro{ ‘.get_template_directory_uri().’/assets/main.png; } </style>’; }
Block editor: content resets to the previous state in “Edit as HTML” by clicking somewhere outside of the editing window
The WordPress (Gutenberg) block editor requests data from an oembed proxy endpoint, and that endpoint retrieves data using the Transients API. It seems that clearing all oembed caches doesn’t also clear oembed transient caches. The following database query to clear your oembed caches from the postmeta table is NOT sufficient: global $wpdb; $meta_key_1 = “|_oembed|_%%”; … Read more