I have a Tridion GUI extension (Tridion 2013 SP1 - but I don't think this matters much) that inserts a piece of text in a rich text field.
The text is inserted correctly, using the applyHTML("text") method, but after inserting, the inserted text is selected in the RTF field.
Is there a way to unselect this element, and move the cursor to the end of the inserted text ?
I see for example that inserting a hyperlink (via the standard tridion GUI) has this behaviour. Can I achieve something similar ?