* Executes a registered command on the current instance. A list of available commands can be found in * the tinymce command identifiers documentation. * * @method execCommand * @param {String} cmd Command name to execute, for example mceLink or Bold. * @param {Boolean} ui Specifies if
(cmd: string, ui?: boolean, value?: any, args?: ExecCommandArgs)
| 615 | * @return {Boolean} true or false if the command was supported or not. |
| 616 | */ |
| 617 | public execCommand(cmd: string, ui?: boolean, value?: any, args?: ExecCommandArgs): boolean { |
| 618 | return this.editorCommands.execCommand(cmd, ui, value, args); |
| 619 | } |
| 620 | |
| 621 | /** |
| 622 | * Returns a command specific state, for example if bold is enabled or not. |
no test coverage detected