Closed brunokrebs closed 8 years ago
insertHTML command does not work on IE10 and 11, so this is the workaround. This solution works on ie9, ie10, ie11, chrome, firefox and safari. Well, these are the browsers that I have tested, probably it works on others, like Microsoft Edge.
This solutions is totally based on http://stackoverflow.com/questions/6690752/insert-html-at-caret-in-a-contenteditable-div/6691294#6691294
So :clap: to Tim Down
insertHTML command does not work on IE10 and 11, so this is the workaround. This solution works on ie9, ie10, ie11, chrome, firefox and safari. Well, these are the browsers that I have tested, probably it works on others, like Microsoft Edge.
This solutions is totally based on http://stackoverflow.com/questions/6690752/insert-html-at-caret-in-a-contenteditable-div/6691294#6691294
So :clap: to Tim Down