CSS classes to Kirbytext

Hello,

is it possible to add a class to a part of a text in the panel? Maybe i wanna center some parts of the text. How is the best way?

You can write inline HTML in a textarea, but a cleaner method would be a custom kirbytag like this one: Paragraph alignement

1 Like

https://getkirby.com/docs/developer-guide/kirbytext/tags

or maybe simpler

https://getkirby.com/docs/developer-guide/kirbytext/filters

1 Like