sleak / gutenberg
Block discovery, the editor host, and make:block for the Sleak theme.
v1.0.1
2026-11-30 15:51 UTC
Requires
- php: ^8.3
- illuminate/support: ^13.0
- roots/acorn: ^6.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.29
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Block registration, the editor host, and make:block for Sleak. The theme keeps its blocks, filters, and EditorConfig.
composer require sleak/gutenberg
import gutenberg from './vendor/sleak/gutenberg/vite.js'; export default defineConfig({ plugins: [gutenberg()], });
import 'virtual:sleak/gutenberg';
config/gutenberg.php sets the block path, the filter path, the category, and the allowlist. null for allowed leaves WordPress's list untouched. The filter is sleak/gutenberg/allowed.
The editor host injects window.sleak on block_editor_settings_all at priority 30, after Parity's window.parity injection at priority 20. The payload is whatever sleak/editor/config returns.
wp acorn make:block notice --template=basic
Templates are basic, innerblocks, and dynamic.
See dual-driver.md.