function wysiwyg_yui_plugins in Wysiwyg 6
Same name and namespace in other branches
- 5.2 editors/yui.inc \wysiwyg_yui_plugins()
- 5 editors/yui.inc \wysiwyg_yui_plugins()
Return internal plugins for this editor; semi-implementation of hook_wysiwyg_plugin().
1 call to wysiwyg_yui_plugins()
- wysiwyg_yui_button_setting in editors/
yui.inc - Create the JavaScript structure for a YUI button.
1 string reference to 'wysiwyg_yui_plugins'
- wysiwyg_yui_editor in editors/
yui.inc - Plugin implementation of hook_editor().
File
- editors/
yui.inc, line 224
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'),
'insertunorderedlist' => t('Bullet list'),
'insertorderedlist' => t('Numbered list'),
'outdent' => t('Outdent'),
'indent' => t('Indent'),
'createlink' => t('Link'),
'insertimage' => t('Image'),
'forecolor' => t('Font Color'),
'backcolor' => t('Background Color'),
'superscript' => t('Sup'),
'subscript' => t('Sub'),
'removeformat' => t('Remove format'),
'hiddenelements' => t('Show/hide hidden elements'),
'formatselect' => t('HTML block format'),
'fontstyle' => t('Font'),
'fontsize' => t('Font size'),
'styleselect' => t('Font style'),
),
'internal' => TRUE,
),
);
}