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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable/Enable Modules

Thread ID:





149691 Dec 5,2019 01:28 PM UTC Dec 9,2019 12:19 PM UTC JavaScript - EJ 2 3
Tags: DocumentEditor
Mustafa Kaya
Asked On December 5, 2019 01:31 PM UTC


I 'm destroying to all modules by "documenteditor.destroyDependentModules();". 

How can i ,enable or add modules again?

Harini Chellappa [Syncfusion]
Replied On December 6, 2019 06:43 AM UTC

Hi Mustafa,


You can enable all the modules by using following API of documenteditor.





Harini C

Mustafa Kaya
Replied On December 6, 2019 08:12 AM UTC

I tried it before you say, but after call "enableAllModules", editor isnt working. I cant write to editor.

Harini Chellappa [Syncfusion]
Replied On December 9, 2019 12:19 PM UTC

Hi Mustafa,


DestroyDependentModules is a private method of document editor. Hence using this for destroying and trying to enable modules with enableAllModules creates error.  Document editor provides API only to destroy the whole component.


To unload modules, you can disable module properties and enable it again to load. Please refer the below documentation for more details.




Harini C


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon