TinyMCE:API/tinymce.Editor/addQueryStateHandler
From Moxiecode Documentation Wiki
Contents |
[edit]
Method: addQueryStateHandler
[edit]
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.
[edit]
Syntax
<void> addQueryStateHandler(<String> n, <function> f, <Object> s)
[edit]
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.
