Block Supports Extended
Simple extension for built in block support features
by Human Made Limited · github.com/humanmade/block-supports-extended
★ 13stars
4.9kcomposer installs
1forks
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/humanmade/block-supports-extended/archive/refs/heads/main.zipAlso on Packagist as humanmade/block-supports-extended:
composer require humanmade/block-supports-extendedFrom the readme
Block Supports Extended
- Tested up to: 6.3
- License: GPL-2.0-or-later
Helpers for extending built in block support features such as color options.
Description
To use the plugin you will need to activate it and then register your new block supports properties like so:
This will have the effect of extending the core quote block's block.json like so:
A "Quote Marks" option will be added to the default block colour settings. Everything else included CSS generation is then handled for you.
Future Roadmap
Currently only the color feature is supported, but we will likely extend this to typography, border etc…
Depending on the future direction of WordPress core which promises to make the styles engine more pluggable we may continue extending this or keep it limited.
Installation
This section describes how to install the plugin and get it working.
e.g.
1. Upload the plugin files to the /wp-content/plugins/block-supports-extended directory, or install the plugin through the WordPress plugins screen directly.
1. Activate the plugin through the 'Plugins' screen in WordPress
Changelog
0.1.0
Release
Read the full README on GitHub →