I can only think of configuring action - Any Key > Spell Check on your field that hosts the RTE control to do this.
But you must remember the Pega RTE is based on third party ckeditor, so if this does not suffice your needs then you are most likely looking at an enhancement to the editor before the same can be functional within Pega. Thanks.
I am looking for this requirement because this was requested by client. They are trying to avoid number of clicks. Why because we need to click on Spell check button every time we add new words to Rich text editor.Its not recommended so we are trying to overcome this issue.
By default spellcheck will work for Text Area, Even for Rich text editor also we have two option.
By default RichTextEditor control will give you SpellCheck Option.We can enable that in Rich Text Editor configuration.After entering text every time you need to click that option for spell check to perform.(Manual Spell check)
If you want it to happen automatically, you need to do 2 operations.
Create non-generated HTML section and include the code mentioned below.(for highlight misspelled words)
Add the newly created section to your section and include SpellCheck action for onChange event on RTE. ( to display suggestions for misspelled words)
The above code helps to highlight the misspelled words; along with this we need to show suggestions(similar which happens with RTE spellcheck) when the misspelled word is clicked. Could you please let me know if you have implemented anything to meet this.
For your question, I have provided you second option as to add SpellCheck action for Onchange Event for RTE.
So when user enters misspelled words, based on our code those will be highlighted. But for suggestion you need to tab out from RTE( to execute Onchange action) so that when user click on misspelled words suggestions will be displayed.