function wysiwyg_openwysiwyg_plugins in Wysiwyg 5.2
Return internal plugins for this editor; semi-implementation of hook_wysiwyg_plugin().
1 string reference to 'wysiwyg_openwysiwyg_plugins'
- wysiwyg_openwysiwyg_editor in editors/
openwysiwyg.inc - Plugin implementation of hook_editor().
File
- editors/
openwysiwyg.inc, line 141 - Editor integration functions for openWYSIWYG.
Code
function wysiwyg_openwysiwyg_plugins($editor) {
$plugins = array(
'default' => array(
'buttons' => array(
'bold' => t('Bold'),
'italic' => t('Italic'),
'underline' => t('Underline'),
'strikethrough' => t('Strike-through'),
'justifyleft' => t('Align left'),
'justifycenter' => t('Align center'),
'justifyright' => t('Align right'),
'justifyfull' => t('Justify'),
'unorderedlist' => t('Bullet list'),
'orderedlist' => t('Numbered list'),
'outdent' => t('Outdent'),
'indent' => t('Indent'),
'undo' => t('Undo'),
'redo' => t('Redo'),
'createlink' => t('Link'),
'insertimage' => t('Image'),
'cleanup' => t('Clean-up'),
'forecolor' => t('Forecolor'),
'backcolor' => t('Backcolor'),
'superscript' => t('Sup'),
'subscript' => t('Sub'),
'blockquote' => t('Blockquote'),
'viewSource' => t('Source code'),
'hr' => t('Horizontal rule'),
'cut' => t('Cut'),
'copy' => t('Copy'),
'paste' => t('Paste'),
'visualaid' => t('Visual aid'),
'removeformat' => t('Remove format'),
'charmap' => t('Character map'),
'headings' => t('HTML block format'),
'font' => t('Font'),
'fontsize' => t('Font size'),
'maximize' => t('Fullscreen'),
'preview' => t('Preview'),
'print' => t('Print'),
'inserttable' => t('Table'),
'help' => t('Help'),
),
'internal' => TRUE,
),
);
return $plugins;
}