Enabling SCAYT by default in Nation Notes and other options for config

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).

2 Likes

@Craig_Tucker
Is there a section in the wiki for how to use Nation Notes? I could update the wiki and add this.
If there is no wiki for nation notes is it possible for us to create one?

Sandra

PS: I take it back, I found a section here

https://www.open-emr.org/wiki/index.php/Nation_Notes