Spell Check on Rich Text Fields

Sarah/Rich,

Zach posted here about how to modify the CKeditor configuration.  I worked up this custom field render based on his sample and Rich’s research on the editor configuration.

Put this into a snippet and run it as the custom render for your Rich Text Field.  This worked in my developer org. on Skuid 11.0.3.

Note that this does not provide suggestions.  It only underlines any misspellings with a red line.

Thanks,

Bill

var field = arguments[0],
    value = skuid.utils.decodeHTML(arguments[1]);
    field.options.ckEditorConfig = {
    disableNativeSpellChecker: false 
    };
    console.log(‘CKEditor options’);
    console.log(field.options.ckEditorConfig);
    skuid.ui.fieldRenderers[field.metadata.displaytype]field.mode;