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

ERROR TypeError: this.toolbarModule.enableDisableInsertComment is not a function

Thread ID:





150434 Jan 7,2020 11:21 AM UTC Jan 8,2020 05:22 AM UTC Angular - EJ 2 1
Tags: DocumentEditor
Ankit Pathak
Asked On January 7, 2020 11:21 AM UTC

Dear Sir,

I am using Document Editor in my Angular 8 project.

When I build it in development mode it works fine.

But during production build it throws error - "ERROR TypeError: this.toolbarModule.enableDisableInsertComment is not a function".

Can you please look into this error and guide me what am I doing wrong ??

Best Regards,
Ankit Pathak

Harini Chellappa [Syncfusion]
Replied On January 8, 2020 05:22 AM UTC

Hi Ankit, 

We have created Angular CLI sample which is provided in getting started with angular version 8.3. Checked it in production mode. We couldn’t able to reproduce the reported issue.  

Can you please share below configuration details in your side or provide simple sample to reproduce the issue? that will helpful for us to investigate further and provide you solution at earliest. 

·       Angular version 
·       Target version in tsconfig.json file 
·       Production configuration details 
In mean time, confirm you have updated source file. 

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