Rerender core Templates with with ToggleControl but it doesnt recognize block type

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

How to create pre-designed page layouts for Gutenberg?

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