I am using DocumentEditor for editing my word document. I am getting js error in the line "documenteditor = documenteditorElement.ej2_instances[0];",
ej2_instances is not defined. While checking online demo, following js script is added in the example.
<script>var DocumentEditorContainerjcaj0ex0aoq=new ejs.documenteditor.DocumentEditorContainer({
"enableLocalPaste": false,
"enableToolbar": true,
"restrictEditing": false,
"showPropertiesPane": false
});
DocumentEditorContainerjcaj0ex0aoq.appendTo("#container");
</script>
But while checking example code, I could not find the script. Can anyone help me to sort out this issue?