Rainer Kugeland wrote:
hi,

the latest mozilla versions (mozilla 1.5, firebird 0.7) support dragging of an absolute positioned layer when designMode is on. Is there a way to prevent this? I only want the user to edit text (and maybe resize an image) but not to completely destroy my layout.

Thanks

Get an instance of the editor, QI it to nsIHTMLAbsPosEditor and set absolutePositioningEnabled to false.

Cf. http://lxr.mozilla.org/mozilla/source/editor/idl/nsIHTMLAbsPosEditor.idl#78

</Daniel>
_______________________________________________
mozilla-editor mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-editor

Reply via email to