SpellCheck disables page break

Hi team,


It seems "ctrl + enter" and editor.insertPageBreak() doesn't work when I initialize the spellchecker

this.editor.spellChecker.languageID = 1036;
this.editor.spellChecker.allowSpellCheckAndSuggestion = true;
this.editor.spellChecker.enableOptimizedSpellCheck = true;

I'm using the document editor without its container.

after initializing the spellchecker, the pagebreak function only creates a new line instead of a new page.


toggling the spellchecker property "enableSpellCheck" false then true again, allow some page break but leads to a blocking error : 


8 Replies 1 reply marked as answer

SM Suriya Murugan Syncfusion Team January 17, 2022 03:54 AM UTC

Hi Francois,


We will check the reported issue and will update details shortly.


Regards,

Suriya M.



SM Suriya Murugan Syncfusion Team January 17, 2022 08:18 AM UTC

Hi Francois, 

We have tried to reproduce the reported issue but couldn’t reproduce it.  

Can you please share the below details to proceed further ? 
1.      Document editor version. It you were using lower version, upgrade to latest version 19.4.42 and try it. 
2.      Please share the video illustration of the  reported issue. 

That will be helpful for us to proceed further and provide you the solution at the earliest. 


Regards, 
Suriya M. 



FR François January 17, 2022 09:37 AM UTC

Hi Suriya,


thank's for your answer,

I made a stackblitz to present to you the bug: https://stackblitz.com/edit/react-ps1kug?file=index.js


some explanations :

  •  my package is in the latest version 19.4.42
  • I store the documentEditor instance in an objet Mord (see the file Mord.js), it permits to trigger some events for my custom toolbar in my app
  • I inject the modules I need in the DocumentEditor for my app (spellchecker included)
  • when the documentEditor is fully ready, I store the documentEditor instance and I setup the spellchecker language (see mord init function in the Mord.js file)
  • I'm using the documentEditor this way to have a fully customized toolbar
  • I made my tests with empty page, only trying to insert break page withtout any text

as you can see, when you press ctrl + enter, it only jumps to another row, not a new page (and creates error when you try to delete it).



another info:

if you comment the enableSpellCheck property and the configuration of the spellchecker in the init function, you can now make a page break but then, if you try to delete it, it crashes



I hope I am clear enough in my explanations. :)


Regards,

François



SM Suriya Murugan Syncfusion Team January 18, 2022 01:34 PM UTC

Hi Francois, 

We can be able to reproduce the reported issue. Currently, we are validating the reported issue and get back to you with more details by January 20, 2022. 

Regards, 
Suriya M. 



SM Suriya Murugan Syncfusion Team January 21, 2022 03:45 AM UTC

We will update details shortly


SM Suriya Murugan Syncfusion Team January 21, 2022 11:05 AM UTC

Hi François ,


We have confirmed the reported issue as a defect and logged a defect report. We will fix this issue and include it in our 2021 volume 4 SP release which is scheduled for end of January 2022.


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

https://www.syncfusion.com/feedback/32067/spellcheck-disables-page-break

Regards,

Suriya M.



FR François January 21, 2022 11:18 AM UTC

Hi Suriya,


Thank's, I'm really happy that you plan to fix it so quickly !


Regards,

François



SM Suriya Murugan Syncfusion Team January 31, 2022 12:18 PM UTC

Hi Francois, 

We are glad to announce that 2021 Volume 4 SP release (v19.4.48) is rolled out successfully  and is available for download under the following link and In this release, we have added fix for reported issue. 
  
Please upgrade to the latest version packages to resolve this issue.      
  

  
Please let us know if you have any further assistance. 

Regards, 
Suriya M. 


Marked as answer
Loader.
Up arrow icon