Re: nsIHTMLEditor vs. nsIDOMNSHTMLDocument, General Editor questions
Neil <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.editor |
|---|---|
| Message-ID | <[email protected]> |
[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.