Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (78 sloc) 2.37 KB
<?php
/**
* @file
* tanarurkerem_ckeditor.features.ckeditor_profile.inc
*/
/**
* Implements hook_ckeditor_profile_defaults().
*/
function tanarurkerem_ckeditor_ckeditor_profile_defaults() {
$data = array(
'Tanarurkerem_CKEditor' => array(
'name' => 'Tanarurkerem_CKEditor',
'settings' => array(
'ss' => 2,
'toolbar' => '[
[\'Bold\',\'Italic\',\'-\',\'NumberedList\',\'BulletedList\',\'Link\',\'Unlink\',\'Image\']
]',
'expand' => 't',
'default' => 't',
'show_toggle' => 't',
'uicolor' => 'default',
'uicolor_user' => 'default',
'width' => '100%',
'lang' => 'en',
'auto_lang' => 't',
'language_direction' => 'default',
'allowed_content' => 't',
'extraAllowedContent' => '',
'enter_mode' => 'p',
'shift_enter_mode' => 'br',
'font_format' => 'p;div;pre;address;h1;h2;h3;h4;h5;h6',
'custom_formatting' => 'f',
'formatting' => array(
'custom_formatting_options' => array(
'indent' => 'indent',
'breakBeforeOpen' => 'breakBeforeOpen',
'breakAfterOpen' => 'breakAfterOpen',
'breakAfterClose' => 'breakAfterClose',
'breakBeforeClose' => 0,
'pre_indent' => 0,
),
),
'css_mode' => 'theme',
'css_path' => '',
'css_style' => 'theme',
'styles_path' => '',
'filebrowser' => 'imce',
'filebrowser_image' => 'imce',
'filebrowser_flash' => 'imce',
'UserFilesPath' => '%b%f/',
'UserFilesAbsolutePath' => '%d%b%f/',
'forcePasteAsPlainText' => 'f',
'html_entities' => 'f',
'scayt_autoStartup' => 'f',
'theme_config_js' => 'f',
'js_conf' => '',
'loadPlugins' => array(
'drupalbreaks' => array(
'name' => 'drupalbreaks',
'desc' => 'Plugin for inserting Drupal teaser and page breaks.',
'path' => '%plugin_dir%drupalbreaks/',
'buttons' => array(
'DrupalBreak' => array(
'label' => 'DrupalBreak',
'icon' => 'images/drupalbreak.png',
),
),
'default' => 't',
),
),
),
'input_formats' => array(
'tanarurkerem_ckeditor' => 'Tanarurkerem CKEditor',
),
),
);
return $data;
}