error occure when I use javascript to call "editor.ExecCommand('InsertDocument');"
in chrom it return:
Failed to execute 'insertNode' on 'Range': The node to be inserted is a 'A' node, which may not be inserted here
in IE:
Object doesn't support property or method 'addEventListener'
How to fix both of the browser javascript error?