Opening a blank document for the second time fails

Hello,

The issue is that I'm using jsPanel to host multiple document editors in the same page.
First time I try to create a blank document it opens the document editor just fine.

Second time I try to do the same thing it opens like this:


and an exception gets logged:

The exception is because contentDocument is null:


Thanks,

1 Reply 1 reply marked as answer

SM Suriya Murugan Syncfusion Team May 3, 2021 11:31 AM UTC

Hi Omar, 

Syncfusion Greetings! 

We have tried to reproduce the reported issue by creating multiple documenteditor in same page but couldn’t. We suspect the issue because you were using same ID or same instance.  

Can you please check it? if it same, create unique ID and instance for each documenteditor.  

If still issue not resolved, please share you code snippet or simple sample to recreate the issue? that will be helpful for us to proceed further on reported issue. 

Regards, 

Suriya M. 


Marked as answer
Loader.
Up arrow icon