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.