[Project_owners] Cancelling Web page selection

Neil neil at parkwaycc.co.uk
Sun Dec 11 21:40:43 EST 2005

Alex Eng wrote:

> Neil wrote:
>> You need to get hold of the nsIEditor object for the rich editor, you 
>> can then call its outputToString method. This is easier if you can 
>> use an <editor> rather than an <iframe>, but I think it should be 
>> possible for an <iframe> too.
> The <iframe> element, which contains the HTML document with 
> designMode="on", is contained in an HTML document which I am accessing 
> from JavaScript code in my Firefox extension.

Well, it should still be possible to get hold of its editor, but I'd 
have to research it :-(

More information about the Project_owners mailing list