diff --git a/src/editor.js b/src/editor.js index 6559109..04a1b21 100644 --- a/src/editor.js +++ b/src/editor.js @@ -163,7 +163,7 @@ function createHTML(options = {}) { var foNode; if (node){ node.innerHTML = HTML; - foNode = node.firstChild; + foNode = node.firstChild.firstChild; } else { exec("insertHTML", HTML); }