Blocks Schema Viewer Codeberg
A WordPress plugin to display the JSON representation of all blocks on the current page within the Gutenberg editor for debugging and analysis.
by Brandon Zhang · codeberg.org/heybran/blocks-schema-viewer
★ 0stars
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://codeberg.org/heybran/blocks-schema-viewer/archive/main.zipFrom the readme
Blocks Schema Viewer
A tiny WordPress plugin to display the JSON representation of all blocks on the current page within the Gutenberg editor for debugging and analysis.
Motivation
This plugin was created to provide developers -- well mostly me, but I hope you will find it useful as well -- with a simple and effective tool to inspect the JSON representation of all blocks on a page. When developing custom blocks using core blocks, it allows developers to quickly see how the blocks are structured in JSON format. It also makes it easier to understand how block data is stored when parsing and analyzing blocks on the server side with PHP.
Screenshots
Changelog
- 0.1.0 Initial release.
- 0.2.0 Add json-viewer web component.
- 0.3.0 Add expand, collapse and search functionalities.