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.
User Image
  • 2011-06-28 16:41:06

jens.frandsen@vibesmg.com

Found it: http://tinymce.moxiecode.com/wiki.php/Command_identifiers