TextArea#insertXML, what's the simplest way so it works like TextArea#insertText?
I would like to be able to insert an xml block of TLF-formatted xml, to be converted into flow elements, but without having to do it all manually. So I'm looking for something that works like the TextArea's "insertText" method, which takes a string and inserts all the FlowElements into the anchor's position, doing all the work for you.
Is this possible? Could this be included in the framework? If not, could you please point me in the right direction ![]()
Something like:
var xml:XML =
<div styleName="myDiv">
<span styleName="myStyle">
Im Text
</span>
</div>
textArea.insertXML(xml);
Thanks,
Lance
