Editing HTML structure of Gutenberg layout recent post?
Editing HTML structure of Gutenberg layout recent post?
Editing HTML structure of Gutenberg layout recent post?
Possible way of having multiple Gutenberg instances for a page?
Making custom meta box required (with error message if not filled in) on Gutenberg
Neat implementation 🙂 The issue responsible for that error is here: const [template, setTemplate] = useState([ [“core/heading”, { placeholder: “Three CTA Block” }], [“core/columns”, {}, […column]], ]) As well as here: setTemplate([ [“core/heading”, { placeholder: “Three CTA Block” }], [“core/columns”, {}, […newColumn]], ]) If present, the third element of a block template block item array … Read more
Fixed: Console.log twice in the edit function
ResizableBox component is not selectable in block editor
I recently had the same issue. The workaround I used was to save the current post id as an attribute of the block: const currentPostId = useSelect( ( select ) => { return select( ‘core/editor’ ).getCurrentPostId(); }, [] ); useEffect( () => { if ( currentPostId && currentPostId !== postId ) { setAttributes( { postId: … Read more
I found the problem. I needed to add -perso-chacha-bases-block-editor after fr_FR in the json filename. I found out this solution here: Gutenberg translation is not working Big thank you!
You have a number of options. But the best method I have found is to use combination of custom blocks that allow the user to rearrange content themselves and custom post meta (depending on the situation). For simple things, I stick to custom blocks. I create section blocks, card blocks etc, that have strict functionality … Read more
Video Block does not autoplay