Home › Block Editor › Page 2
Block Editor
The Block Editor can be a complex and elusive topic. These tutorials try to break the Block Editor into smaller, easy-to-learn topics.
How to Create a Permanent Unique ID for Your WordPress Block

Create a permanent unique ID for your block that also works with block duplication.
Should Blocks Have Shortcode Fallbacks?

Should your block have a shortcode fallback? It depends on the complexity of the block and the desire to be compatible with more than the block editor.
Discover How to Load Scripts and Styles in WordPress Blocks with Block.json

Using Block.json to load your scripts and styles is straightforward, but there are some caveats when loading assets for multiple blocks.
How to Set Block Defaults Programmatically

This block editor tutorial shows how you can set defaults for common core blocks, or even third-party ones.
How To Add Custom Commands to the WordPress Command Palette

The Command Palette will land in WordPress 6.3. This tutorial explains what it is and shows how to add your own commands.
What are Block Transforms and Why You Should Use Them

Block Transforms are a neat way of changing from one block to another. I'll teach you how to do your own transforms.
Say Goodbye to RichText Multiline: How to Use InnerBlocks Instead

I recently converted one of my blocks from RichText to InnerBlocks. It wasn't easy, but I thought I'd share my experience with the conversion.
Remove Core and Third-party Block Patterns

Block Patterns are very useful, but sometimes you need to limit the patterns to only the ones you have created for your clients.
How to Create a Unique ID for Styling your WordPress Block

Sometimes you need to style your blocks individually, and this is where a unique ID for each block can come in handy. So how do you get one? Step 1: Add The uniqueId attribute Head to your block’s block.json file…
Getting Rid of Three Common Block Editor Annoyances

The block editor has some annoying defaults, including a welcome dialogue and full-screen mode. This tutorial shows you how to turn these off automatically.
