Inline Typography Controls

Beskrivning

This plugin adds extra controls to the rich text formatting toolbar (the popup toolbar shown when you select text inside a block). Each control wraps the selected text in an inline element, similar to Bold or Italic, so you can mix formatting within a single paragraph or heading.

Github: https://github.com/torounit/inline-typography-controls

Controls

  • Font Size — Apply an inline font size to the selected text. Choose from the font size presets defined in your theme’s theme.json, or pick a custom value with the slider.
  • Font Family — Apply an inline font family to the selected text, chosen from the font family presets defined in your theme’s theme.json.
  • Inline Block — Wrap the selected text in an inline-block element (display: inline-block), which is useful for keeping a phrase from breaking across lines.
  • Side comment — Wrap the selected text in a <small> tag, useful for side comments and supplementary text such as captions or fine print.

Credits

The Font Size toolbar button icon is based on the ”format_size” icon from Material Symbols by Google, licensed under the Apache License 2.0.

Skärmdumpar

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Inline Typography Controls” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Inline Typography Controls” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”Inline Typography Controls” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.5.1

  • Add a Font Family control, letting you apply an inline font family from your theme’s theme.json presets.
  • Show the Font Size control as a direct toolbar button instead of inside the ”More” dropdown.
  • Use a Material Symbols ”format_size” icon for the Font Size button.
  • Relicense the plugin from GPLv2 or later to GPLv3 or later.

0.4.8

  • Tested up to WordPress 7.0