Proper way to reload or update getEntityRecords state
Proper way to reload or update getEntityRecords state
Proper way to reload or update getEntityRecords state
How to wrap the Gutenberg editor in a custom React component?
I know that this is not welcome here, but my only answer is that I can refer you to the following plugin. The plugin was released a few weeks ago and finds exactly the blocks used for your installation. Exactly what you need. https://wordpress.org/plugins/find-my-blocks/
Add custom attributes to link in Gutenberg
I stumbled upon this question long after it was asked – but for the sake of all readers in search on how to use this indeed poorly documented function, here is my answer: Do not use addEntities in the filter. It is not the same logic as in PHP backend. Putting it into BlockEdit filter … Read more
I know it’s hard to believe but it’s known and still unresolved issue in WordPress. It’s impossible to output thumbnail size in Gutenberg Gallery Block.
After banging my head against Gutenberg’s wall for a few hours, I came up with something that seems to work. It uses the useSelect and useEntityProp hooks instead of the withSelect and withDispatch HOCs. The truth is that using hooks makes the code simpler and easier to understand. /** * WordPress dependencies */ const { … Read more
How do I add a reusable block to a programmatically created post?
How to stop Gutenberg injecting inline font styles
How to remove buttons from gutenberg toolbar