| Namespace | tinymce | 
| Class | EditorCommands | 
| Method | Defined By | 
|---|---|
| 
addCommands(command_list:Object, type:String):void Adds commands to the command collection. | EditorCommands | 
| 
execCommand(command:String, ui:Boolean, value:Object):Boolean Executes the specified command. | EditorCommands | 
| 
queryCommandState(command:String):Boolean/Number Queries the current state for a command for example if the current selection is "bold". | EditorCommands | 
| 
queryCommandValue(command:String):Object Queries the command value for example the current fontsize. | EditorCommands | 
public 
						function addCommands(command_list:Object, type:String):void
| command_list:Object | Name/value collection with commands to add, the names can also be comma separated. | 
| type:String | Optional type to add, defaults to exec. Can be value or state as well. | 
public 
						function execCommand(command:String, ui:Boolean, value:Object):Boolean
| command:String | Command to execute. | 
| ui:Boolean | Optional user interface state. | 
| value:Object | Optional value for command. | 
public 
						function queryCommandState(command:String):Boolean/Number
| command:String | Command to check the state of. | 
public 
						function queryCommandValue(command:String):Object
| command:String | Command to check the value of. |