Page tree
Skip to end of metadata
Go to start of metadata

Block all features of UI component

You may set exceptions in certain feature names with exceptUINames parameter.

Related command :  unblockUI


Parameters:

NameTypeDescription
actionNameString'blockUI' UI component blocking API
[exceptUINames]ArrayNames to be exempted from the blocking


Example:

editor.execCommand('blockUI');
editor.execCommand('blockUI', ['bold', 'italic']); // Disable all functions except 'bold' and 'italic'
  • No labels