Formatting Extender

描述

Formatting Extender adds new inline formatting options to the WordPress Block Editor toolbar. Select any text and apply badge or highlight formatting with one click.

Features:

  • Badge — Wraps text in an uppercase badge with colored background
  • Highlight — Adds a yellow highlight behind text
  • Zero configuration, no settings pages
  • Lightweight — only loads in the block editor

屏幕截图

  • Select text and click the down arrow on the toolbar to see formatting options.
  • Text with badge and highlight formatting applied.

安装

  1. Upload the plugin folder to /wp-content/plugins/ or install through the WordPress plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Select text in the Block Editor and use the toolbar dropdown for formatting options.

评价

2021 年 8 月 27 日
There are very few formatting additions or changes that I would recommend outside of the norm. But this is one super simple plugin that offers just the right amount of improvements to always be in my toolkit of favorite first install drop-ins. It feels weird working on a site without this installed.
2021 年 7 月 7 日
Gaurav delivers another useful block editor tweak again! This plugin installs easily and does what it says, adding two of the most useful typographical tweaks every writer should have in their toolbox.
阅读所有2条评价

贡献者及开发者

「Formatting Extender」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

3.0.0

  • Added CSS class adder tool to the formatting toolbar
  • Apply CSS classes to selected text or entire blocks
  • Extensible class suggestions via formatting_extender_css_classes filter
  • Keyboard navigation and accessible ARIA roles for suggestions
  • Added ESLint configuration for WordPress coding standards

2.0.0

  • Modernized build system with @wordpress/scripts
  • Migrated JS to ESNext/JSX with proper WordPress imports
  • Replaced deprecated wp-editor dependency with wp-block-editor and wp-rich-text
  • Frontend CSS now properly enqueued via wp_enqueue_scripts (removed wp_footer inline hack)
  • Added proper WordPress icons for toolbar buttons
  • Active state indicator on toolbar buttons
  • Bumped minimum WordPress to 6.0, minimum PHP to 7.4

1.0.3

  • Improvements

1.0.2

  • WordPress 5.8 Compatibility

1.0.1

  • Better and unique CSS classes to prevent conflicts.

1.0.0

  • First version