(Let's get this out of the way -- I am not a JavaScript expert.)
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:
However, I get the "object does not support this property or method" error in I.E.
If I read the documentation correctly, this should work. Is it an I.E. bug I am not aware of?
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:
Code:
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?
Comment