function _wysiwyg_yui_plugins in Wysiwyg 7.2
Same name and namespace in other branches
- 6.2 editors/yui.inc \_wysiwyg_yui_plugins()
Return internal plugins for this editor; semi-implementation of hook_wysiwyg_plugin().
1 string reference to '_wysiwyg_yui_plugins'
- wysiwyg_yui_editor in editors/
yui.inc - Plugin implementation of hook_editor().
File
- editors/
yui.inc, line 354 - Editor integration functions for YUI editor.
Code
function _wysiwyg_yui_plugins($editor) {
return 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'),
'insertunorderedlist' => t('Bullet list'),
'insertorderedlist' => t('Numbered list'),
'outdent' => t('Outdent'),
'indent' => t('Indent'),
'undo' => t('Undo'),
'redo' => t('Redo'),
'createlink' => t('Link'),
'insertimage' => t('Image'),
'forecolor' => t('Font Color'),
'backcolor' => t('Background Color'),
'superscript' => t('Sup'),
'subscript' => t('Sub'),
'hiddenelements' => t('Show/hide hidden elements'),
'removeformat' => t('Remove format'),
'heading' => t('HTML block format'),
'fontname' => t('Font'),
'fontsize' => t('Font size'),
),
'internal' => TRUE,
),
);
}