Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

모든 UI 기능을 사용하지 못하도록 disable 상태로 변경합니다.

exceptUINamas 로 disable 상태로 변경하지 않을 기능의 이름을 설정할 수 있습니다.

...

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]Arraydisable 상태로 변경하지 않을 기능 이름Names to be exempted from the blocking


Example:

Code Block
languagejs
themeEmacs
editor.execCommand('blockUI');
editor.execCommand('blockUI', ['bold', 'italic']); // 'bold', 'italic' 을 제외하고 모든 기능 disable

...