Re: nsIHTMLEditor vs. nsIDOMNSHTMLDocument, General Editor questions

"[email protected]" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.editor
Organization http://groups.google.com
Message-ID <401677ab-db91-4447-aa36-c8010388e64e@o42g2000hsc.googlegroups.com>
On Dec 2, 6:13 am, Neil <[email protected]> wrote:
> [email protected] wrote:
> >For example, the img when selected shows a resizable border
>
> This is controlled by nsIHTMLObjectResizer's objectResizingEnabled
> attribute.
>
> --
> Warning: May contain traces of nuts.

Thanks for the quick response. I was able to enable/disable the object
resizing controls on <img>, <table> using this technique. However,
things like <div>, <input type="text"> still won't show a resizer. Are
there more XPCOM interfaces involved?

I also notice there are several editor interfaces such as nsIEditor,
nsIHTMLEditor and nsIPlaintTextEditor. Generally how can I get hold of
these editors? I am currently experimenting with nsIEditingSession
which is supposed to be able to give me an nsIEditor. But I can't
figure out the entry point to nsIHTMLEditor. It doesn't appear to be
referred by any other interfaces. Please advise. Thanks again.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.