function wysiwyg_yui_plugins in Wysiwyg 5.2
Same name and namespace in other branches
- 5 editors/yui.inc \wysiwyg_yui_plugins()
- 6 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 275 - 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,
),
);
}