Search by

sleak / gutenberg

adamalexandersson

Block discovery, the editor host, and make:block for the Sleak theme.

Package info

github.com/sleak/gutenberg

Type:package

pkg:composer/sleak/gutenberg

Statistics

Installs: 15

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 4

v1.0.1 2026-11-30 15:51 UTC

This package is auto-updated.

Last update: 2026-11-30 16:03:26 UTC


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.