BCEW Blocks
Plugin block reference for blocks provided by bcew-blocks.
Notes
- This section documents block behavior and content authoring expectations.
- Monorepo operational workflows are documented in central docs.
Plugin Instructions
- Install and activate the
bcew-blocksplugin in WordPress. - Ensure plugin assets are built so blocks are registered (
build/output must exist). - In the editor, insert blocks using the block inserter and search for the block name.
- Configure block settings in the sidebar and publish/update the page.
Local Development
This plugin includes its own .wp-env.json, so you can run WordPress from the plugin directory.
bash
cd plugins/bcew-blocks
pnpm install
pnpm wp-env start
pnpm startNotes:
- Run
pnpm buildat least once if blocks do not appear in the inserter. - Use
pnpm wp-env-stopfrom the monorepo root (ornpx nx wp-env-stopin this directory) to stop the local environment. - Use
pnpm wp-env cleanto reset the local WordPress instance.