Guttenberg Implementation on Front Page

It is possible – in fact, the Block Editor and any number of the @wordpress/ Gutenberg packages can be used stand-alone entirely outside of WordPress – but for the moment it’s quite a bit more of an involved process than the convenient wp_editor() function, and what exactly you’d need to do to make it work … Read more

How can I fire a jQuery event once getBlocks() actually returns the post’s blocks instead of null?

You need to “subscribe” to changes (see this issue) with wp.data.subcribe. A more modern version would have you use useSelect() to get the blocks. It will automatically update blocks if it changes (i.e. it will first return null, then an array of blocks once the API request completes). import { useSelect } from ‘@wordpress/data’; const … Read more

Modify the InnerBlocks ‘Add block’ block appender label

After more digging I see how the core blocks do it now. It only works if there is ONE block type allowed as a child block, which isn’t useful in my case. https://github.com/WordPress/gutenberg/blob/trunk/packages/block-editor/src/components/button-block-appender/index.js#L37-L42 So, it looks like this is not possible right now unless you define your own custom appender.