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) {”:
@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?
Huge thanks for posting this! This lead me to the answer!
Just in case I can save the next person some time, after you edit the config file mentioned above, make sure you are getting the fresh “new” version of the file instead of an old cached version like I was.
For me, even clicking “Delete cookies and site data” in FireFox didn’t give me the new file, I had to open browser dev tools (Ctrl+Shift+i), go to the “Network” tab, then click “Disable Cache”. Then I opened a Nation Note and it grabbed the new version of the file! Unchecked “Disable Cache” and closed browser dev tools.