Re: nsIHTMLEditor vs. nsIDOMNSHTMLDocument, General Editor questions

"[email protected]" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.editor
Organization http://groups.google.com
Message-ID <5c12f9a8-0640-4464-89e8-aa0ced9be72a@d21g2000prf.googlegroups.com>
On Dec 3, 7:17 pm, Neil <[email protected]> wrote:
> [email protected] wrote:
> >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?
>
> The author of the editor module probably decided that it didn't make
> sense to resize those elements (although I believe you can resize a
> <div> if you float or absolutely position it).
>
> >I also notice there are several editor interfaces such as nsIEditor, nsIHTMLEditor and nsIPlaintTextEditor. Generally how can I get hold of these editors?
>
> Once you have an nsIEditor you can QueryInterface it to an
> nsIPlaintextEditor etc.
>
> --
> Warning: May contain traces of nuts.


You are right, the absolutely positioned div is resizable. I guess I
can use it to emulate a resize handle on other elements. Thanks for
the tip.
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.