TinyMCE:API/tinymce.EditorManager/execCommand

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: execCommand

Summary

Executes a specific command on the currently active editor.

Syntax

<bool> execCommand(<String> c, <bool> u, <String> v)

Parameters

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

Returns

true/false if the command was executed or not.

Personal tools