Extending CraftTextRun Schema

Hi folks! I’m starting to put together an extension to add furigana (aka ruby characters) to text, and I think I’ve hit a limitation of the current (v0.0.4) api. I wonder if it would be feasible / reasonable to allow for extending CraftTextRun to allow for different formatting options?

Aside from my own use case, I can think of a few scenarios people might want to build extensions to support (and I think these kinds of things probably belong in extensions rather than core functionality):

  • superscript + subscript
  • inline language tags (for screenreaders/accessibility)
  • inline tags, categories, or other structured metadata / text decoration

What do folks think?