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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable/Enable Modules

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello,

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.

 

documenteditor.enableAllModules()

 

Regards,

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.

https://ej2.syncfusion.com/documentation/document-editor/feature-module/?no-cache=1#feature-modules

 

Regards,

Harini C


CONFIRMATION

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