< Extension:TinyMCE < Hooks
| 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
$title: An instance ofTitle$context: An instance ofIContextSource
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.