Formatting Extender

Plugin Banner

Formatting Extender

by Gaurav Tiwari

Download
Description

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
  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.
  1. Select text and click the down arrow on the toolbar to see formatting options.

    Select text and click the down arrow on the toolbar to see formatting options.

  2. Text with badge and highlight formatting applied.

    Text with badge and highlight formatting applied.

Simple Formatting must have.

By Leo Gopal (leogopal) on August 27, 2021

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.

A Block editor must-have

By kolakube (alexmangini) on July 7, 2021

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.

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
Back to top