WP Manifestindependent plugin directory
manifest / developer / wp-block-debug

Alley Block Debug WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Adds a panel to the WordPress block editor with a lot of information about the selected block.

★ 16stars
4.7kcomposer installs
v0.3.0latest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/alleyinteractive/wp-block-debug/archive/refs/heads/main.zip

On Packagist as alleyinteractive/wp-block-debug:

composer require alleyinteractive/wp-block-debug
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Block Debug

This plugin adds a panel to the WordPress block editor that allows you to inspect and modify the selected block. You can:

  • Copy the block name
  • Copy the block client ID
  • View the block object (from select('core/block-editor').getBlock())
  • View the block type object
  • View the output of useBlockProps()
  • View and copy the serialized block HTML
  • View and edit most block attributes (see the "Editing Attributes" section below)

Installation

You can install the plugin via Composer:

composer require alleyinteractive/wp-block-debug

Editing Attributes

The interface for editing block attributes is generated by passing the block type's attributes schema to react-jsonschema-form. Some attributes might be easier to edit than others, and some attributes might not be editable at all, depending on how well-defined the attributes are in the schema (you can use the "Dump block type" feature in the debug panel to see it).

Only attributes with a type of string, number, integer, boolean, object, array, or null are supported; items of type array must also define an items schema.

Controlling Access

The debug panel is available to users with the view_block_debug capability, which is mapped to edit_posts by default.

Screenshots

Screenshot of the block editor with the block debug panel open

Screenshot of the output of "Dump block instance"

Screenshot of the output of "Dump `useBlockProps()`"

About

License

GPL-2.0-or-later

Maintainers

Alley Interactive

Releases

3 releases.

Tag
Published
v0.3.0 latest
Feb 10, 2025 1 year ago
Feb 7, 2025 1 year ago
Feb 4, 2025 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Alley Block Debug 0.3.0 · audited by WP Registry

No security issues found.

Audited release
0.3.0
Findings
none
Worst severity
—
Content hash
9234a622e65c226b75af4f63…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.