wysiwyg.plugins.inc in Wysiwyg 6
Same filename and directory in other branches
File
wysiwyg.plugins.incView source
<?php
/**
* Implementation of hook_wysiwyg_plugin().
*/
function wysiwyg_wysiwyg_plugin($editor, $version) {
switch ($editor) {
case 'tinymce':
if ($version < 3) {
return array(
'wysiwyg' => array(
'path' => drupal_get_path('module', 'wysiwyg') . '/plugins/break/editor_plugin.js',
'buttons' => array(
'break' => t('Teaser break'),
),
'url' => 'http://drupal.org/project/wysiwyg',
),
);
}
break;
}
}
Functions
Name | Description |
---|---|
wysiwyg_wysiwyg_plugin | Implementation of hook_wysiwyg_plugin(). |