You are here

function _wysiwyg_whizzywig_plugins in Wysiwyg 7.2

Same name and namespace in other branches
  1. 6.2 editors/whizzywig.inc \_wysiwyg_whizzywig_plugins()

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

1 string reference to '_wysiwyg_whizzywig_plugins'
wysiwyg_whizzywig_editor in editors/whizzywig.inc
Plugin implementation of hook_editor().

File

editors/whizzywig.inc, line 145
Editor integration functions for Whizzywig.

Code

function _wysiwyg_whizzywig_plugins($editor) {
  return array(
    'default' => array(
      'buttons' => array(
        'formatblock' => t('HTML block format'),
        'fontname' => t('Font'),
        'fontsize' => t('Font size'),
        'bold' => t('Bold'),
        'italic' => t('Italic'),
        'underline' => t('Underline'),
        'left' => t('Align left'),
        'center' => t('Align center'),
        'right' => t('Align right'),
        'bullet' => t('Bullet list'),
        'number' => t('Numbered list'),
        'outdent' => t('Outdent'),
        'indent' => t('Indent'),
        'undo' => t('Undo'),
        'redo' => t('Redo'),
        'image' => t('Image'),
        'color' => t('Forecolor'),
        'hilite' => t('Backcolor'),
        'rule' => t('Horizontal rule'),
        'link' => t('Link'),
        'image' => t('Image'),
        'table' => t('Table'),
        'clean' => t('Clean-up'),
        'html' => t('Source code'),
        'spellcheck' => t('Spell check'),
      ),
      'internal' => TRUE,
    ),
  );
}