execCommand

public function execCommand(c:String, u:Boolean, v:String):Boolean
Executes a specific command on the currently active editor.

Params

Name Type Description
c String Command to perform for example Bold.
u Boolean Optional boolean state if a UI should be presented for the command or not.
v String Optional value parameter like for example an URL to a link.

Returns

Boolean true/false if the command was executed or not.