editor_ckeditor.editor.inc in Editor 7
Editor hooks implemented by the Editor CKEditor module.
File
modules/editor_ckeditor/editor_ckeditor.editor.incView source
<?php
/**
* @file
* Editor hooks implemented by the Editor CKEditor module.
*/
/**
* Implements hook_editor_info().
*/
function editor_ckeditor_editor_info() {
$editors['ckeditor'] = array(
'label' => t('CKEditor'),
'library' => array(
'editor_ckeditor',
'drupal.ckeditor',
),
'default settings' => array(
'toolbar' => array(
array(
array(
'name' => 'Formatting',
'items' => array(
'Bold',
'Italic',
),
),
array(
'name' => 'Linking',
'items' => array(
'Link',
'Unlink',
),
),
array(
'name' => 'Alignment',
'items' => array(
'JustifyLeft',
'JustifyCenter',
'JustifyRight',
),
),
array(
'name' => 'Lists',
'items' => array(
'BulletedList',
'NumberedList',
),
),
array(
'name' => 'Media',
'items' => array(
'Blockquote',
'DrupalImage',
),
),
array(
'name' => 'Language',
'items' => array(
'Language',
),
),
array(
'name' => 'Tools',
'items' => array(
'Source',
'Maximize',
),
),
),
),
'image_upload' => array(
'status' => TRUE,
),
'format_list' => array(
'p',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
),
'plugins' => array(
'style' => array(
'style_list' => array(),
),
'language' => array(
'language_list' => 'un',
),
),
),
'file' => 'includes/editor_ckeditor.admin.inc',
'settings callback' => 'editor_ckeditor_settings_form',
'js settings callback' => 'editor_ckeditor_get_settings',
);
return $editors;
}
Functions
Name | Description |
---|---|
editor_ckeditor_editor_info | Implements hook_editor_info(). |