TinyMCE:API/tinymce.Editor/addQueryStateHandler

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: addQueryStateHandler

Summary

Adds a custom query state command to the editor, you can also override existing commands with this method. The command that you add can be executed with queryCommandState.

Syntax

<void> addQueryStateHandler(<String> n, <function> f, <Object> s)

Parameters

n
Command name to add/override.
f
Function to execute when the command state retrieval occurs.
s
Optional scope to execute the function in.
Personal tools