View Full Version : contentEditable in Gecko

Feb 4th, 2005, 12:13 PM
Having sorted the save/restore of the caret position, now I'm facing another problem. I can't enable edit mode for the div in Firefox. Even though contentEditable should be supported, and I've seen it working on other sites, I can't get it to work.

This is the page:


As you can see, the contentEditable attribute is set to 'true' for the div, but it's not editable in Firefox... what am I doing wrong?

Feb 4th, 2005, 04:36 PM
This is not DOM scripting. Moving to the Javascript forum. Also, last I checked Gecko didn't support contentEditable, it supported designMode (for instance, on an iframe).

Feb 4th, 2005, 05:28 PM
It should support contentEditable... see http://mozile.mozdev.org/

Feb 4th, 2005, 09:23 PM
Mozile appears to use the designMode property, not the contentEditable property. Here are some specs on it: