Javascript Error when call "editor.ExecCommand('InsertDocument');"

  •  01-18-2016, 9:32 PM

    Javascript Error when call "editor.ExecCommand('InsertDocument');"

    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?

     

View Complete Thread