@ -307,10 +307,10 @@
insertHTML: function (html) {
var range = this.getRng();
if (document.queryCommandState("insertHTML")) {
// W3C
try {
this.nicCommand("insertHTML", html);
} else if (range.insertNode) {
} finally {
if (range.insertNode) {
// IE
range.deleteContents();
range.insertNode($(html)[0]);
@ -318,6 +318,7 @@
// IE <= 10
range.pasteHTML(html);
}
},
nicCommand: function (cmd, args) {