Skip to main content
NICE CXone Expert
Expert Success Center

Editor Performance

Applies to:
All MindTouch Versions
Role required:
Admin
Configure the Expert Editor to change autosave interval or for high volume content.

Use the configurations below to optimize triggers for autosave and spell check on larger pages. Modify the configuration examples as needed. based on the needs of your particular Expert site.

Modify Editor Configuration in Control Panel

  1. Navigate to Site Tools > Control Panel > System Settings > Editor.
  2. Enter custom configurations in the Set editor configuration field and Save.

Editor Configuration does not have a Revision History, changes are final and cannot be reverted

Enable performance optimization


Change this configuration value for any page that exceeds the 50,000 character limit. The character count is based on the HTML generated for that content. The count is viewable by using the menu option View > Source. The default value is set to infinity.

CKEDITOR.editorConfig = function( config ) {
    config.performanceTweaksEnabled_minLength = 50000;
}

Turn these optimization settings on without setting a character limit. 

CKEDITOR.editorConfig = function( config ) {
    config.performanceTweaksEnabled = true;
};

By default, the Expert editor autosaves every 25 seconds, but it can be modified.

Change autosave interval

  1. Navigate to Site Tools > Control Panel > System Settings > Editor.
  2. In the Set editor configuration field, add the following code but replace 60 with the number of seconds you want the autosave interval to be.
    CKEDITOR.editorConfig = function( config )
    {
        config.autosave_interval = 60;
    }

Autosave settings

Autosave interval time
Increase the editor autosave interval to reduce the number of times changes are saved to your local storage.

Autosave character trigger
Increase the character change minimum, 120 by default, when the editor also saves to your local storage.

CKEDITOR.editorConfig = function( config ) {
    config.autosave_minLength = 200;
}

SCAYT (spell check as you type) settings

Implement configuration keys alongside the character limit to trigger SCAYT optimization.
 

scayt_findWordDelay
Use this configuration to increase the time between highlighting each misspelled word, lowering the amount of processes occurring while your editor is open.

CKEDITOR.editorConfig = function( config ){
    config.scayt_findWordDelay = 1500;
}

Preloaded Text
Set this function to false for better performance on big preloaded text. However, disabling it may affect your autosave functionality.

CKEDITOR.editorConfig = function( config ){
    config.scayt_handleCheckDirty = false;
}

Undo / Redo
Set this configuration to false for better performance on text undo/redo actions by using the native functionality of the editor instead of the SCAYT plugin.

CKEDITOR.editorConfig = function( config ){
    config.scayt_handleUndoRedo = false;
}

Trigger configuration by character length:

CKEDITOR.editorConfig = function( config ) {
    config.performanceTweaksEnabled_minLength = 50000;
};


Trigger configuration and overriding

CKEDITOR.editorConfig = function( config ) {
    config.performanceTweaksEnabled_minLength = 50000;
    config.performanceTweaks.scayt_handleCheckDirty = true;
}


Trigger configurations without  a minimum character length

CKEDITOR.editorConfig = function( config ) {
    config.performanceTweaksEnabled = true;
};


Trigger configurations without a minimum character length and override

CKEDITOR.editorConfig = function( config ) {
    config.performanceTweaksEnabled = true;
    config.performanceTweaks.autosave_interval = 100;
};
  • Was this article helpful?