When ever I upgrade OpenEMR I have to re-learn how to make SCAYT work by default in the CKEDITOR. It is a little counter intuitive for me because editing /openemr/public/assets/ckeditor/config.js will do nothing for us. So I am putting the simple procedure here.
In order to enable SCAYT by default in Nation Notes, in 5.0.0 or better, so spell checking auto starts – edit the following:
/openemr/library/js/nncustom_config.js
Add this line under “CKEDITOR.editorConfig = function (config) {”:
config.scayt_autoStartup = true;
Now spell check will auto start. There are also lots of other options for the CKEDITOR that you can tweak here (see: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html).