Categories
WordPress

Create unique class names for Gutenberg Blocks (admin)

Categories
WordPress

Remove Edit As HTML Option From Gutenberg Block

In your registerBlockType call to create the block you just need to add:

supports: { html: false }

Resources:

https://github.com/WordPress/gutenberg/issues/9571#issuecomment-505517467