I’m trying to do something a bit exotic with inline elements and I was hoping you could tell me if this is even possible because I’m not having any luck getting it working.
I’m trying to create an inline element that has 2 child inline elements, each of which contain text. When you click on either of the child elements, they turn into input elements with autocomplete menus. After pressing the Enter key, they go back to being text, keeping the new values from the input elements.
The document is basically this
<p> <field> <field-type>Status</field-type> <field-value>Read</field-value> </field> </p>
I have a NodeView for the field element that takes care of rendering the 2 child elements and registering event listeners on them.
Before I bore you with the details of the many things that I’ve tried and discarded, should I expect this to work at all? Or should I consider this unsupported?