How to add CSS class to figcaption in kirbytext

I need to inject a utility class to the figure caption:

(image: filename.jpg captionclass: align-right)

Is this possible?


No, but you can roll your own by extending the existing tag.


I will extend the kirbytag.

How likely are CSS classes to get implemented?
It would be great to have access to all attributes especially when working with utility classes.

Thank you very much.