How do I extend blocks in the editor?

Question: How do I extend core blocks in the block editor?

Answer: Use WordPress APIs to provide alternative block styles or hook into the JavaScript filters such as blocks.registerBlockType.

Providing alternative block styles is something a theme might want to do. Hooking into JavaScript filters is more plugin territory.


Block Editor Handbook: Block Filters

© Copyright Herb Miller, Bobbing Wide 2021