Reading block content can become useful if you’re building blocks that will interact with other blocks or maybe a plugin that will enhance the whole experience of using the Block Editor.
Read MoreCategory: Gutenberg
How to Programmatically add a block in the WordPress Block Editor
When working with custom blocks or custom solutions to enhance the WordPress Block Editor, you might need to have a way to add blocks programmatically to the editor.
Read MoreHow to Conditionally Disable the Publish Button in the WordPress Block Editor
In case you have a website where each post or a custom post type, requires a featured image, there is a chance, the client might ignore that when publishing. In this tutorial, we’ll learn how to disable the publish/update button if there is no featured image added.
Read MoreGutenberg Components and Invalid Hook Call Error in React. What do do?
When you’re using Gutenberg Components (Packages) in a separate Web App (maybe Headless WordPress app), you might encounter the error that shows you the Invalid Hook Call error in React.
Read MoreHow to enable Inner Blocks in your Gutenberg Block
Inner Blocks are Gutenberg Blocks that allow inserting additional blocks within your own block. To understand it even better, imagine a shortcode that wraps the content. This content can then be shown or hidden. You can achieve that inside Gutenberg with Inner Blocks.
Read More