summaryrefslogtreecommitdiffstats
path: root/wysiwyg.plugins.inc
blob: 5f46d77a0f56174698626c3c241e95329f52d40f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
// $Id$


/**
 * 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;
  }
}