-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdandelion_features.features.ckeditor_profile.inc
145 lines (144 loc) · 4.68 KB
/
dandelion_features.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?php
/**
* @file
* dandelion_features.features.ckeditor_profile.inc
*/
/**
* Implements hook_ckeditor_profile_defaults().
*/
function dandelion_features_ckeditor_profile_defaults() {
$data = array(
'Comment' => array(
'name' => 'Comment',
'settings' => array(
'ss' => 2,
'toolbar' => '[
[\'Bold\',\'Italic\',\'-\',\'NumberedList\',\'BulletedList\',\'-\',\'Link\',\'Unlink\',\'-\',\'Blockquote\']
]',
'expand' => 't',
'default' => 't',
'show_toggle' => 'f',
'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',
'custom_formatting' => 'f',
'formatting' => array(
'custom_formatting_options' => array(
'indent' => 'indent',
'breakBeforeOpen' => 'breakBeforeOpen',
'breakAfterOpen' => 'breakAfterOpen',
'breakAfterClose' => 'breakAfterClose',
'breakBeforeClose' => 0,
'pre_indent' => 0,
),
),
'css_mode' => 'self',
'css_path' => '%tckeditor/css/ckeditor.css',
'css_style' => 'self',
'styles_path' => '%tckeditor/js/ckeditor.styles.js',
'filebrowser' => 'none',
'filebrowser_image' => '',
'filebrowser_flash' => '',
'UserFilesPath' => '%b%f/',
'UserFilesAbsolutePath' => '%d%b%f/',
'forcePasteAsPlainText' => 'f',
'html_entities' => 'f',
'scayt_autoStartup' => 'f',
'theme_config_js' => 'f',
'js_conf' => '',
'loadPlugins' => array(),
),
'input_formats' => array(
'comment' => 'Comment',
),
),
'Page' => array(
'name' => 'Page',
'settings' => array(
'ss' => 2,
'toolbar' => '[
[\'Format\',\'Styles\',\'Bold\',\'Italic\',\'-\',\'NumberedList\',\'BulletedList\',\'-\',\'Link\',\'Unlink\',\'-\',\'Blockquote\'],
[\'Media\'],
[\'Source\']
]',
'expand' => 't',
'default' => 't',
'show_toggle' => 'f',
'uicolor' => 'default',
'uicolor_user' => 'default',
'width' => '100%',
'lang' => 'en',
'auto_lang' => 't',
'language_direction' => 'default',
'allowed_content' => 'f',
'extraAllowedContent' => '',
'enter_mode' => 'p',
'shift_enter_mode' => 'br',
'font_format' => 'p;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' => 'self',
'css_path' => '%tckeditor/css/ckeditor.css',
'css_style' => 'self',
'styles_path' => '%tckeditor/js/ckeditor.styles.js',
'filebrowser' => 'none',
'filebrowser_image' => '',
'filebrowser_flash' => '',
'UserFilesPath' => '%b%f/',
'UserFilesAbsolutePath' => '%d%b%f/',
'forcePasteAsPlainText' => 'f',
'html_entities' => 'f',
'scayt_autoStartup' => 'f',
'theme_config_js' => 'f',
'js_conf' => '',
'loadPlugins' => array(
'ckeditor_link' => array(
'name' => 'drupal_path',
'desc' => 'CKEditor Link - A plugin to easily create links to Drupal internal paths',
'path' => '%base_path%sites/all/modules/ckeditor_link/plugins/link/',
),
'media' => array(
'name' => 'media',
'desc' => 'Plugin for inserting images from Drupal media module',
'path' => '%base_path%sites/all/modules/media/modules/media_wysiwyg/wysiwyg_plugins/media_ckeditor/',
'buttons' => array(
'Media' => array(
'icon' => 'images/icon.gif',
'label' => 'Add media',
),
),
'default' => 'f',
),
'picture_ckeditor' => array(
'name' => 'picture_ckeditor',
'desc' => 'Support responsive images with the Picture module.',
'buttons' => FALSE,
'path' => '%base_path%sites/all/modules/picture/ckeditor/plugins/',
'default' => 't',
),
),
),
'input_formats' => array(
'page' => 'Page',
),
),
);
return $data;
}