cleanup allowed_blocks logic and add mechanism for disabling blade template for specific block

This commit is contained in:
2025-12-12 13:12:37 +00:00
parent 917150bbe6
commit da8097e7c3
10 changed files with 136 additions and 161 deletions

View File

@@ -1,7 +1,6 @@
import { registerBlockType } from '@wordpress/blocks';
registerBlockType('badegg/example', {
apiVersion: 3, // optional in JS, primarily in block.json
edit() {
return (
<section className="block-badegg-example">