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. _______________________________________________ dev-tech-editor mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-editor
