Extension:TinyMCE/Hooks/TinyMCEDisable
(Redirected from Manual:Hooks/TinyMCEDisable)
TinyMCEDisable | |
---|---|
Available from version ??? (Gerrit change 437058) Allows other extensions the opportunity to disable TinyMCE on a page |
|
Define function: | public static function onTinyMCEDisable( Title $title, IContextSource $context ) { ... }
|
Attach hook: | $wgHooks['TinyMCEDisable'][] = 'MyExtensionHooks::onTinyMCEDisable';
|
Called from: | File(s): TinyMCE / TinyMCE.hooks.php Function(s): enableTinyMCE |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:TinyMCEDisable extensions.
Parameters
edit$title
: An instance ofTitle
$context
: An instance ofIContextSource