Hi,You have to use the DOM level 2 Traversal-Range specification nicely implemented in Mozilla.
I'd like to know how to get the selected elements in the editor using the DOM ?
thx,
Fabrice
The spec: <http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/>
You can use for instance:
document.getElementById('editor_widget_ID').contentWindow.getSelection().getRangeAt(0)
to retrieve the selected elements in the editor window.
Daniel
