IE exec command line advanced text editing
2 answers
Thanks for the answer, but as it turned out, my problem came from IE not being able to insert the image if there was no focus in my iframe (richeditor container). So I used the following code before trying to use execCommand and it worked.
document.getElementById('iframeId').contentWindow.focus();
+3
source to share