TinyMCE:API/tinymce.Editor/addQueryValueHandler

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: addQueryValueHandler

Summary

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

Syntax

<void> addQueryValueHandler(<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