-
Notifications
You must be signed in to change notification settings - Fork 3
/
tanarurkerem_ckeditor.features.ckeditor_profile.inc
82 lines (81 loc) · 2.44 KB
/
tanarurkerem_ckeditor.features.ckeditor_profile.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
/**
* @file
* tanarurkerem_ckeditor.features.ckeditor_profile.inc
*/
/**
* Implements hook_ckeditor_profile_defaults().
*/
function tanarurkerem_ckeditor_ckeditor_profile_defaults() {
$data = array(
'CKEditor' => array(
'name' => 'CKEditor',
'settings' => array(
'filters' => array(
'filter_htmlcorrector' => 1,
'filter_html' => 1,
),
'textformat_filters' => 't',
'ss' => '2',
'default' => 't',
'show_toggle' => 'f',
'skin' => 'kama',
'uicolor' => 'default',
'uicolor_textarea' => '<p>
Click the <strong>UI Color Picker</strong> button to set your color preferences.</p>
',
'uicolor_user' => 'default',
'toolbar' => '[
[\'Bold\',\'Italic\'],
[\'NumberedList\',\'BulletedList\',\'Blockquote\'],
[\'Format\'],
[\'Cut\',\'Copy\',\'Paste\',\'PasteText\',\'PasteFromWord\'],
[\'Undo\',\'Redo\',\'Find\',\'Replace\',\'-\',\'SelectAll\',\'RemoveFormat\'],
[\'Link\',\'Unlink\',\'Anchor\', \'Linkit\'],
]
',
'expand' => 't',
'width' => '100%',
'lang' => 'en',
'auto_lang' => 't',
'language_direction' => 'default',
'enter_mode' => 'p',
'shift_enter_mode' => 'br',
'font_format' => 'h2;h3;h4;h5;h6;p;pre',
'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' => 'none',
'filebrowser_image' => '',
'filebrowser_flash' => '',
'UserFilesPath' => '%b%f/',
'UserFilesAbsolutePath' => '%d%b%f/',
'ckeditor_load_method' => 'ckeditor.js',
'ckeditor_load_time_out' => '0',
'forcePasteAsPlainText' => 'f',
'html_entities' => 'f',
'scayt_autoStartup' => 'f',
'theme_config_js' => 'f',
'js_conf' => 'config.entities = false;
config.entities_latin = false;',
'loadPlugins' => array(),
),
'input_formats' => array(
'ckeditor' => 'CKEditor',
),
),
);
return $data;
}