We need to add HTML to our main editor. Since we only support IE at this time (most clients are still on IE 6), I was told to use the built-in XHTML editing features in Internet Explorer. <div contentEditable="true"> as described in the "Editing a Web Page " section.
Astronomy does not work in other browsers. (Management does not believe that this is a problem. Our customers will work with our software, working only with IE. We have never lost any money with our software working only in IE, most customers will only allow their employees to use IE6 in any case anyway)
What other problem can we get with contentEditable?
Update
The HTML editor I wrote with "contentEditable" proved to be very difficult to work with many problems reliably. If I had to do it again, I would click very heavy on one of the many open source solutions (like TinyMCE) or buy in a supported HTML editor.
There is no doubt that a very experienced jscript programmer can get "contentEditable" to work well with enough time. Itβs just that all the examples on the Internet look so simple until you check out common operations such as cutting / pasting from a word and trying to edit the resulting HTML. (only what the client will do)
(Just search for "contentEditable" in stackoverflow to get some ideal of the problems that other people had)
javascript html internet-explorer contenteditable
Ian Ringrose Jan 29 '09 at 14:27 2009-01-29 14:27
source share