It's a SpellCheck request by word when document is loading

I have instaled the last version v20.1.0.50, and when the document is loading, its make many request to   spellcheck. I have enableOptimizedSpellCheck=true.

This is the all configuration of spellcheck

this.container.documentEditor.spellChecker.languageID = this._languageId;
this.container.documentEditor.spellChecker.removeUnderline = false;
this.container.documentEditor.spellChecker.allowSpellCheckAndSuggestion = true;
this.container.documentEditor.spellChecker.enableOptimizedSpellCheck = true;

spellcheck2.jpg


7 Replies 1 reply marked as answer

SM Suriya Murugan Syncfusion Team April 22, 2022 01:50 PM UTC

Hi Yosviel,


We can reproduce the reported issue. Currently, we are validating and get back to you by April 26, 2022.


Regards,

Suriya M.



SM Suriya Murugan Syncfusion Team April 27, 2022 03:42 AM UTC

Hi Yosviel,


Apologies for the delay!


Can you please confirm if this issue occurs when you load the document on initial control creation(inside created event)? when you manually open the document?


If, possible please share the video illustration in order to know the exact issue which you were facing.


To know further about the enableSpellcheck and enableOptimizedSpellchek API please refer the below table.


 

Document Opening

Document Editing

enableSpellCheck

Send all unique word separate request, Send all unique word separate request

Once edited all the following calls will be sent word by word as separate request.

 

enableOptimized spellcheck

Send all unique word as a single request for each page(Until a edit operation is performed)

Once edited all the following calls will be sent word by word as separate request.

 


Regards,

Suriya M.




YO Yosviel April 27, 2022 03:40 PM UTC

Hi

This is onCreate function

onCreate(): void {
this.container.documentEditor.open(this.document.body);

this.container.documentEditor.spellChecker.languageID = this._languageId;
this.container.documentEditor.spellChecker.removeUnderline = false;
this.container.documentEditor.spellChecker.allowSpellCheckAndSuggestion = true;
this.container.documentEditor.spellChecker.enableOptimizedSpellCheck = true;
}

the error is when open document, but when  i import word document  its make only one request to spellchecker page 



YO Yosviel April 27, 2022 04:07 PM UTC

Hi

Here attached the video from error.

Thank you for your time.


Regards


Attachment: Captura_6e52307b.rar


SM Suriya Murugan Syncfusion Team April 29, 2022 03:59 AM UTC

Hi Yosivel,


We have confirmed the reported issue as a defect and logged a defect report. We will fix this issue and include it in our EJ2 patch release which is scheduled for May 25, 2022.  


You can track the status of the bug through the below feedback link:


https://www.syncfusion.com/feedback/34475/resolve-the-multiple-spellcheck-call-issue-when-using-open-api


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,

Suriya M.



YO Yosviel May 16, 2022 02:00 PM UTC

Hi

I updated to v20.1.55 and It's resolve.

Thanks.

Regards


Marked as answer

SM Suriya Murugan Syncfusion Team May 18, 2022 10:19 AM UTC

Hi Yosviel,


Thanks for your update.


Regards,

Suriya M.


Loader.
Up arrow icon