Block Visual Tools
A WordPress plugin that adds visual tools to the block editor for easier block debugging and development. This plugin works only in the block editor and does not affect the front end of your site.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/gabediaz/block-visual-tools/releases/download/v1.0.0/block-visual-tools.zipBlock Visual Tools for WordPress
A WordPress plugin that adds visual tools to the block editor for easier block debugging and development. This plugin works only in the block editor and does not affect the front end of your site.
For Users: Plugin Installation
Option 1: Direct Installation
- Download the latest release zip file from the Releases page.
- Go to WordPress Admin > Plugins > Add New > Upload Plugin.
- Upload the zip file and activate the plugin.
Option 2: Manual Server Installation
- Clone the repository or download the zip file.
- Ensure you run
npm installandnpm run buildto generate the necessary files. - Upload the
block-visual-toolsfolder to/wp-content/plugins/. - Activate through WordPress Admin > Plugins.
Using the Plugin
- Open any page or post in the WordPress editor.
- Click on any block to select it.
- Look in the right sidebar for "Visual Tools."
- Use the available tools:
- Hide Block: Temporarily hide blocks while editing.
- Show Block Structure: Visualize block boundaries and nesting.
For Developers: Setup & Build
Prerequisites
- Node.js (v14 or later)
- npm or yarn
- Local WordPress development environment
Local Development
-
Clone the repository:
git clone https://github.com/gabediaz/block-visual-tools.git cd block-visual-tools -
Install dependencies:
npm install -
Start development mode:
npm run start
Building for Production
-
Create production build:
npm run build -
Required files for distribution:
block-visual-tools/ ├── build/ # Built files │ ├── index.js │ ├── index.asset.php │ └── style.css ├── block-visual-tools.php ├── package.json └── README.md
System Requirements
- WordPress 6.0 or higher
- PHP 7.4 or higher
License
GPL v2 or later
Support
For issues and feature requests, please use the GitHub issues page.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.