Jump to content

Featured Replies

Posted
  • Community Expert

Any chance to get a caption paragraph styling in this menu? (or to put it another way: any kind of “alternative“ paragraph, which could be used for something like captions)

Bildschirmfoto 2025-03-24 um 18.29.00.png

For educational articles, I use captions all the time and much more than the 6 levels of headlines.

The default caption styling wouldn’t matter much, as long as it is clearly separated from the default text (through size/color/styling …) and can be targeted with CSS.

I used to do that with custom buttons, but since that doesn’t exist anymore, a native function would be nice and the only way to have a consistent appearance with global styling. Trying to pick a combination of the editor styling options (like manually assigning an alternative color) sounds bad in comparison.

Two examples (where the caption class is at least separated by style (italic) and color. And the existence of a CSS class allows for even more like spacing and an icon:

Bildschirmfoto 2025-03-24 um 18.41.34.png

Bildschirmfoto 2025-03-24 um 18.30.45.png

{EF985340-5D45-4513-A8A5-67A03E5FC67D}.png

some image caption

you can do it quite it easily with icon, italic and color in editor 🤔

  • Author
  • Community Expert
 

{EF985340-5D45-4513-A8A5-67A03E5FC67D}.png

some image caption

you can do it quite it easily with icon, italic and color in editor 🤔

Sure. Just as one can create headlines through picking a larger font size, but that’s not a good solution compared to the “h tags“, which can by styled globally at any point (including margin changes, which are not available in the editor).
In the same sense, I am asking for a proper solution for captions.

 

{EF985340-5D45-4513-A8A5-67A03E5FC67D}.png

some image caption

you can do it quite it easily with icon, italic and color in editor 🤔

This approach lacks semantic HTML since it doesn't use the <figure> tag to associate the caption meaningfully with the image. It’s a bad practice because it reduces accessibility and proper document structure.

Moreover, you can't edit the caption class to modify all caption styles, making maintenance cumbersome or impossible.

Edited by David N.

Recently Browsing 0

  • No registered users viewing this page.