How to add an element to text inline other than a link?

Is there any way to add an element to text inline other than a link?

I want markup like this

<p>This is some text <element>this text is inside an element</element></p>

Hi @back_porcupine, select some text and press the ‘Create span’ button in the toolbar, then you can work with it as its own element

Is there a way to add a custom behavior to that span?

I’m trying to add a component to put footnotes into a document, if that helps at all. Something like this span that allows me to put any component inline would be perfect for that

@back_porcupine Unfortunately there isn’t yet a way to do this inside plasmic, you would need to rely on specifying overrides in the API for now

thanks @yang!