Support Article
Auto spellcheck removed in the new Rich Text Editor
SA-14948
Summary
RichTextEditor control was used PRPC 6.1. After upgrade to Pega 7.1.7, the control is changed to, pxRichTextEditor, since the former is deprecated and does not work in IE11.
Now, the auto spellcheck does not work as this control does not have any auto spellcheck feature.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a section and include an RTE.
2. Save and run the flow.
Root Cause
A third-party product issue as in Pega 7, CKEditor is used which by default does not support auto spellcheck.
Resolution
Add the below code in a non-auto generated section. Include this section in the section where the RTE control is used.
You can also add the below code in the "pzpega_ckeditor.js " file by performing a private edit.
CKEDITOR.on( 'instanceReady', function( evt ) {
var editor = evt.editor;
editor.document.$.body.setAttribute('spellcheck',true);
});
Published October 9, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.