A microplugin for acting on Additional CSS classes per-block in the WordPress Editor.
The goal of this plugin is simple:
- More easily see Additional CSS classes on a WordPress Block.
- More easily and surgically remove additional CSS class names with a single click.
- Preserves Core text input and stays in sync as you work.
- Upload and Activate Plugin
- Open the WordPress Block Editor
- In a Block Sidebar under the Advanced Panel, there is a field to work with CSS classes as tokens instead of a string.
- The
<FormTokenField>
uses regex to attempt to limit inputs to valid CSS class names (i.e., without a period). It can always be overridden using the text input above. YMMV.