We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Document Editor not working

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

But while checking example code, I could not find the script. Can anyone help me to sort out this issue? 

1 Reply

RT Ramya Thirugnanam Syncfusion Team December 26, 2018 07:12 AM

Hi Narayan, 
Thanks for contacting Syncfusion support. 
It seems that Essential JavaScript 2 Script manager is not configured in sample side. So, please add the script manager as given in the Step 5 of Configure Essential JS 2 in the application section from the below link. 
Ramya T 

Live Chat Icon For mobile
Up arrow icon