[Solved]: Extend the list view in gutenberg editor?
I was able to solve my problem using __experimentalLabel. It allowed me to customize how the block appears in the List View, similar to the behavior in the core/image block.
I was able to solve my problem using __experimentalLabel. It allowed me to customize how the block appears in the List View, similar to the behavior in the core/image block.
Create a Query Loop block
It works without any problems for me. It looks like something (a plugin or theme) is using the same classes, which is overriding your CSS classes. Try wrapping your classes or update the classnames for testing. .xyz-sidebar { grid-area: sidebar; } .xyz-content { grid-area: content; } .xyz-header { grid-area: header; } .xyz-wrapper { display: grid; … Read more
This won’t work as you expect it, PHP is intended for server rendered blocks, it isn’t aware of the editor context unless it’s told the context. But to do that you need to read it in and pass it to the component on the JS side, and then read it in again on the PHP … Read more
How to edit a pattern per post while preventing Gutenberg from overwriting part of my HTML code
Can you post your js or try this? import { addFilter } from ‘@wordpress/hooks’; addFilter( ‘editor.PostStatus.statuses’, ‘sq/add-custom-post-status’, // custom filter name (statuses) => { return [ …statuses, // save old statuses { // add new status slug: ‘prepare’, label: ‘Prepare’, labelShort: ‘Prepare’, public: false, }, ]; } );
Fully working Edit.js but loads of render.php debugging
Gutenberg Block Validation Failed for a custom block
Building a multisite where ACF Gutenberg blocks can either pull from main site, or if a priority flag is marked, pulls block from subsite
Loading template part programatically, inline styles missing