- Contributors: bobbingwide
- Tags: block, toolicons, toolbar, icons
- Requires at least: 5.5.1
- Tested up to: 5.7-beta3
- Stable tag: 0.3.0
- Requires PHP: 7.2.0
- License: GPL-2.0-or-later
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
Helps you to document tool icons for a block.
Use the Toolicons block ( oik-sb/toolicons ) to produce a list of toolicons for the block you're documenting.
- Upload the plugin files to the
/wp-content/plugins/sb-toolicons-block
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
OR ( not yet available as the plugin is not in the Block Directory )
With WordPress 5.5 or Gutenberg 9.0.0 or higher, and the authority to install plugins:
- In the block editor, open the block inserter.
- Search for the block by typing 'toolicons'.
- Click on the 'Add block' button for the SB Toolicons block.
- The SB Toolicons block plugin will be installed and activated.
- And the block will be inserted into your content.
No. The plugin is delivered with the production version of the block. If you do wish to modify the code then you can find instructions in the src folder.
- Block toolbar variation showing core/column
- Group toolbar variation showing Change text alignment
- Tool icon variation showing all icons
Now supports FSE blocks, up to Gutenberg 10.0.2
Now supports most of the core blocks ( 42 ) excluding those used in Full Site Editing.
First version that displays toolbars and their icons on the front-end for 8 of 131 core blocks.
Initial version copied from sb-children-block, which uses wp-scripts and oik-blocks
where the use of import { iconname } from '@wordpress/icons';
broke the Image block in Gutenberg 9.0.0
- Added: FSE blocks
- Changed: Update packages - for new icons
- Changed: Add logic for Show icon only toggle,#9
- Changed: Added some support for documenting the editor post header toolbar areas,#11
- Changed: Copy selectIcon,#4
- Tested: With Gutenberg 10.0.2
- Tested: With WordPress 5.7-beta3 and WordPress Multi Site
- Tested: With WordPress 5.6.2 and WordPress Multi Site
- Tested: With PHP 8.0
- Built: With node v12.8.4 and npm 6.4.11
- Added: Add Show all icons toggle for Tool icon variation,#9
- Added: Add 3 variations,#7
- Added: Add more core blocks,#1
- Added: Add display of Tranforms with optional link to the target block documentation,#8
- Changed: Update the cropGroup horizontal toolbar for core/image when Crop has been chosen,#6
- Changed: Cater for icons which are not in the @wordpress/icons library,#4
- Added: Add Show transforms option,#3
- Tested: With Gutenberg 9.1.1
- Tested: With WordPress 5.5.1
- Tested: With PHP 7.4
- Changed: Choose from 8 block types, #1
- Changed: Option to Show More Options
- Changed: First attempt at internationalization and localization
- Changed: Supports various toolgroups
- Tested: With Gutenberg 9.0.0
- Tested: With WordPress 5.5.1
- Tested: With PHP 7.4
- Added: Copied from sb-children-block
- Changed: Update from the toolicons block in oik-blocks
- Tested: With Gutenberg 9.0.0 ( built from source using node 12) and the delivered package.
- Tested: With WordPress 5.5.1