How to get linkElement right after applyLink() function?
Hi all,
I am working on a Rich Text Editor. I need to have link insertion, but a custom one.
I want to find the linkElement which was just created (or created before, but the selection od EditorManager points to the link) in order to:
-handle the linkElement mouse interactions
-passing custom variable with setStyle
So the code is like this:
editor.applyLink( "event:click" );
var element:LinkElement = ????;
element.addEventListener(FlowElementMouseEvent.CLICK, handler);
Thanks,
Benjamin
