Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from Codeberg with WP-CLI:
wp plugin install https://codeberg.org/heybran/blocks-schema-viewer/archive/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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.