outstand/icons
Composer 安装命令:
composer require outstand/icons
包简介
README 文档
README
A toolkit for working with icons in the block editor.
A growing set of icon enhancements for the block editor, served through the existing Gutenberg icon picker.
Features
Inline icons
Insert icons mid-text through a new Inline icon button in the rich-text toolbar (paragraph, heading, list, button, etc.). The picker lists every icon registered with the core core/icon block. See docs/icons.md for the full guide.
Looking to register your own custom icons (or remove the ones that ship with WordPress)? See my Icons Extended plugin.
Installation
Manual Installation
- Download the latest release ZIP from the Releases page.
- Go to Plugins > Add New > Upload Plugin in your WordPress admin area.
- Upload the ZIP file and click Install Now.
- Activate the plugin.
Install with Composer
To include this plugin as a dependency in your Composer-managed WordPress project:
- Add the plugin to your project using the following command:
composer require outstand/icons
- Run
composer install. - Activate the plugin from your WordPress admin area or using WP-CLI.
Quick start
- In a post or page, select text in any paragraph/heading and click the Inline icon button in the rich-text toolbar.
- Pick an icon from the popover.
- Save — the frontend renders
<span class="os-icons-inline"><svg>…</svg></span>inheritingcurrentColor.
Requirements
- WordPress 7.0 or higher
- PHP 8.2 or higher
Tests
PHP tests run inside a wp-env container:
npm run test:setup # first time only — starts Docker WP + test DB
npm run test:unit
Changelog
All notable changes to this project are documented in CHANGELOG.md.
License
This project is licensed under the GPL-3.0-or-later.
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-05-23