You are here

function _wysiwyg_wymeditor_plugins in Wysiwyg 6.2

Same name and namespace in other branches
  1. 7.2 editors/wymeditor.inc \_wysiwyg_wymeditor_plugins()

Return internal plugins for this editor; semi-implementation of hook_wysiwyg_plugin().

1 string reference to '_wysiwyg_wymeditor_plugins'
wysiwyg_wymeditor_editor in editors/wymeditor.inc
Plugin implementation of hook_editor().

File

editors/wymeditor.inc, line 234
Editor integration functions for WYMeditor.

Code

function _wysiwyg_wymeditor_plugins($editor) {
  $plugins = array(
    'default' => array(
      'buttons' => array(
        'Bold' => t('Bold'),
        'Italic' => t('Italic'),
        'InsertOrderedList' => t('Numbered list'),
        'InsertUnorderedList' => t('Bullet list'),
        'Outdent' => t('Outdent'),
        'Indent' => t('Indent'),
        'Undo' => t('Undo'),
        'Redo' => t('Redo'),
        'CreateLink' => t('Link'),
        'Unlink' => t('Unlink'),
        'InsertImage' => t('Image'),
        'Superscript' => t('Superscript'),
        'Subscript' => t('Subscript'),
        'ToggleHtml' => t('Source code'),
        'Paste' => t('Paste'),
        'InsertTable' => t('Table'),
        'Preview' => t('Preview'),
      ),
      'internal' => TRUE,
    ),
  );
  return $plugins;
}