function _wysiwyg_fckeditor_plugins in Wysiwyg 7.2
Same name and namespace in other branches
- 6.2 editors/fckeditor.inc \_wysiwyg_fckeditor_plugins()
Return internal plugins for this editor; semi-implementation of hook_wysiwyg_plugin().
1 string reference to '_wysiwyg_fckeditor_plugins'
- wysiwyg_fckeditor_editor in editors/
fckeditor.inc - Plugin implementation of hook_editor().
File
- editors/
fckeditor.inc, line 290 - Editor integration functions for FCKeditor.
Code
function _wysiwyg_fckeditor_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'),
'Link' => t('Link'),
'Unlink' => t('Unlink'),
'Anchor' => t('Anchor'),
'Image' => t('Image'),
'TextColor' => t('Forecolor'),
'BGColor' => t('Backcolor'),
'Superscript' => t('Superscript'),
'Subscript' => t('Subscript'),
'Blockquote' => t('Blockquote'),
'Source' => t('Source code'),
'Rule' => t('Horizontal rule'),
'Cut' => t('Cut'),
'Copy' => t('Copy'),
'Paste' => t('Paste'),
'PasteText' => t('Paste Text'),
'PasteWord' => t('Paste from Word'),
'ShowBlocks' => t('Show blocks'),
'RemoveFormat' => t('Remove format'),
'SpecialChar' => t('Character map'),
'About' => t('About'),
'FontFormat' => t('HTML block format'),
'FontName' => t('Font'),
'FontSize' => t('Font size'),
'Style' => t('Font style'),
'Table' => t('Table'),
'Find' => t('Search'),
'Replace' => t('Replace'),
'SelectAll' => t('Select all'),
'CreateDiv' => t('Create DIV container'),
'Flash' => t('Flash'),
'Smiley' => t('Smiley'),
'FitWindow' => t('FitWindow'),
'SpellCheck' => t('Check spelling'),
),
'internal' => TRUE,
),
'autogrow' => array(
'path' => $editor['library path'] . '/editor/plugins',
'extensions' => array(
'autogrow' => t('Autogrow'),
),
'options' => array(
'AutoGrowMax' => 800,
),
'internal' => TRUE,
'load' => TRUE,
),
'bbcode' => array(
'path' => $editor['library path'] . '/editor/plugins',
'extensions' => array(
'bbcode' => t('BBCode'),
),
'internal' => TRUE,
'load' => TRUE,
),
'dragresizetable' => array(
'path' => $editor['library path'] . '/editor/plugins',
'extensions' => array(
'dragresizetable' => t('Table drag/resize'),
),
'internal' => TRUE,
'load' => TRUE,
),
'tablecommands' => array(
'path' => $editor['library path'] . '/editor/plugins',
'buttons' => array(
'TableCellProp' => t('Table: Cell properties'),
'TableInsertRowAfter' => t('Table: Insert row after'),
'TableInsertColumnAfter' => t('Table: Insert column after'),
'TableInsertCellAfter' => t('Table: Insert cell after'),
'TableDeleteRows' => t('Table: Delete rows'),
'TableDeleteColumns' => t('Table: Delete columns'),
'TableDeleteCells' => t('Table: Delete cells'),
'TableMergeCells' => t('Table: Merge cells'),
'TableHorizontalSplitCell' => t('Table: Horizontal split cell'),
),
'internal' => TRUE,
'load' => TRUE,
),
);
return $plugins;
}