Found a bug. In my quest to remove the cell highlighting I added a onmouseover event to the inserted table that would call:
document.getElementById('edit').contentWindow.getSelection().removeAllRanges();
As you mousedown and drag it crashes the browser.


However there is a work around I found by using a timer:
setTimeout("document.getElementById('edit').contentWindow.getSelection().removeAllRanges();", 50); //think 50 is the shortest time possible.


This seems to work a treat, although as mentioned in a previous post the cell and table gui controls remain - you cannot turn those off :(

I'll put this in bugzilla.

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

Reply via email to