You are here

wysiwyg.plugins.inc in Wysiwyg 5

Same filename and directory in other branches
  1. 6 wysiwyg.plugins.inc

File

wysiwyg.plugins.inc
View 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

Namesort descending Description
wysiwyg_wysiwyg_plugin Implementation of hook_wysiwyg_plugin().