Extend writer field marks to support superscript footnotes

Hi!

Is there a possibility to easily extend the writer field like the other fields?
I’d like to add a superscript option to the marks generating a <sup></sup> tag for footnotes.

Thanks for any input!

When I look at /panel/src/components/writer, I somehow have my doubts that that would be easy to achieve, unless there is an undocumented way to extend the marks…

@bastianallgeier ?

1 Like

This is a planned feature. We already use an internal plugin interface for inline elements. You can find them here: kirby/panel/src/components/Writer/Marks at master · getkirby/kirby · GitHub It’s not a big step to make that plugin interface public.

2 Likes

Hi - I am interested in this too, for a current project that requires superscript in the writer field. If you could make that interface public that would be a big help