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 :-(
_______________________________________________
Project_owners mailing list
Project_owners@mozdev.org
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to