CKEDITOR.plugins.indent
classsingleton
Global command class definitions and global helpers.
Filtering
Methods
registerCommands( editor, commands )CKEDITOR.plugins.indent#registerCommandsRegisters content-specific commands as a part of the indentation system directed by generic commands. Once a command is registered, it listens for events of a related generic command.
CKEDITOR.plugins.indent.registerCommands( editor, { 'indentlist': new indentListCommand( editor, 'indentlist' ), 'outdentlist': new indentListCommand( editor, 'outdentlist' ) } );Content-specific commands listen for the generic command's
execand try to execute their own jobs, one after another. If some execution is successful,evt.data.doneis set so no more jobs (commands) are involved.Content-specific commands also listen for the generic command's
refreshand fill theevt.data.statesobject with states of jobs. A generic command uses this data to determine its own state and to update the UI.Parameters
editor : editorThe editor instance this command is applied to.
commands : ObjectAn object of CKEDITOR.command.