WP Manifestindependent plugin directory
manifest / integrations / blockbridge-wp

BlockBridge WP

WordPress plugin that serializes Gutenberg blocks into a structured JSON tree

by Chris Kelley · github.com/iwritec0de/blockbridge-wp · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/iwritec0de/blockbridge-wp/archive/refs/heads/main.zip

From the readme

BlockBridge WP WordPress plugin that serializes Gutenberg blocks into a structured JSON tree, exposed via the REST API. Pairs with blockbridge-react to render WordPress content as React components in headless applications. How It Works BlockBridge WP adds a serializedBlocks field to every post type that supports the block editor. When a headless front end fetches a post via the REST API, it receives the block tree alongside the standard post fields — no custom endpoint required. Installation 1. Download or clone this repo into wp-content/plugins/blockbridge-wp/ 2. Activate the plugin in Plugins → Installed Plugins The plugin is currently distributed via GitHub only. WP CLI: Usage Install and activate the plugin, then fetch any post or page from the REST API: The response will include a serializedBlocks array alongside standard post fields. Pass it to BlockContent from blockbridge-react: Filter Hooks blockbridgeignorelist Filter the list of block names the plugin will skip during serialization. blockbridgeblock Filter any block's schema immediately after it is generated. Runs for every block. Parameters: - $schema (array) — The generated schema for this block. Shape:

Read the full README on GitHub →