I am toying with a rich text editor of my own. It's just for experimentation.
I have a DIV with contentEditable=true.
I tried writing a script like the following:
Expand|Select|Wrap|Line Numbers
- var contentEditZone = document.getElementById('rte') // the DIV with contentEditable=true
- contentEditZone.execCommand("InsertImage", true);
If I read the documentation correctly, this should work. Is it an I.E. bug I am not aware of?