1
|
<?php
|
2
|
|
3
|
/**
|
4
|
* @file
|
5
|
* media_wysiwyg_settings.features.wysiwyg.inc
|
6
|
*/
|
7
|
|
8
|
/**
|
9
|
* Implements hook_wysiwyg_default_profiles().
|
10
|
*/
|
11
|
function media_wysiwyg_settings_wysiwyg_default_profiles() {
|
12
|
$profiles = array();
|
13
|
|
14
|
// Exported profile: filtered_html.
|
15
|
$profiles['filtered_html'] = array(
|
16
|
'format' => 'filtered_html',
|
17
|
'editor' => 'ckeditor',
|
18
|
'settings' => array(
|
19
|
'buttons' => array(
|
20
|
'default' => array(
|
21
|
'Bold' => 1,
|
22
|
'Italic' => 1,
|
23
|
'Underline' => 1,
|
24
|
'Strike' => 1,
|
25
|
'JustifyLeft' => 1,
|
26
|
'JustifyCenter' => 1,
|
27
|
'JustifyRight' => 1,
|
28
|
'JustifyBlock' => 1,
|
29
|
'BulletedList' => 1,
|
30
|
'NumberedList' => 1,
|
31
|
'Outdent' => 1,
|
32
|
'Indent' => 1,
|
33
|
'Undo' => 1,
|
34
|
'Link' => 1,
|
35
|
'Unlink' => 1,
|
36
|
'TextColor' => 1,
|
37
|
'BGColor' => 1,
|
38
|
'Superscript' => 1,
|
39
|
'Blockquote' => 1,
|
40
|
'Source' => 1,
|
41
|
'HorizontalRule' => 1,
|
42
|
'Cut' => 1,
|
43
|
'Copy' => 1,
|
44
|
'Paste' => 1,
|
45
|
'FontSize' => 1,
|
46
|
'Styles' => 1,
|
47
|
'Table' => 1,
|
48
|
'Find' => 1,
|
49
|
'Replace' => 1,
|
50
|
'CreateDiv' => 1,
|
51
|
'Maximize' => 1,
|
52
|
),
|
53
|
'drupal' => array(
|
54
|
'media' => 1,
|
55
|
),
|
56
|
),
|
57
|
'theme' => 'advanced',
|
58
|
'language' => 'en',
|
59
|
'toolbarLocation' => 'top',
|
60
|
'resize_enabled' => 1,
|
61
|
'default_toolbar_grouping' => 0,
|
62
|
'simple_source_formatting' => 0,
|
63
|
'acf_mode' => 1,
|
64
|
'acf_allowed_content' => 'properties;
|
65
|
table[class](*);
|
66
|
tbody[class](*);
|
67
|
tr[class](*);
|
68
|
td[class,colspan](*);
|
69
|
img[title,alt,src,data-cke-saved-src](wysiwyg-break,drupal-content);
|
70
|
video[width,height,controls,src,controlslist,data-delta,data-fid,data-media-element](*);
|
71
|
source[src,type,data-cke-saved-src];
|
72
|
audio[controls,src](*);
|
73
|
img[*](media-element,file-default,media-wysiwyg-align-right,media-wysiwyg-align-left,media-wysiwyg-align-center);
|
74
|
p[class](*);
|
75
|
audio[controls,src](*);
|
76
|
b[class](*);
|
77
|
p[class](default,fanc*,text-align*,Indent*);
|
78
|
a[href,hreflang,data-entity-type,data-entity-uuid,title,target,class,tabindex](*);
|
79
|
h1[class](*);
|
80
|
h2[class](*);
|
81
|
h3[class](*);
|
82
|
h4[class](*);
|
83
|
h5[class](*);
|
84
|
h6[class](*);
|
85
|
hr[class](*);
|
86
|
div[class,aria-labelledby,data-parent,id](*);
|
87
|
button[class,aria-controls,aria-expanded,data-target,data-toggle,type,id](*);
|
88
|
sub[class](*);
|
89
|
sup[class](*);
|
90
|
strong[class](*);
|
91
|
em[class](*);
|
92
|
cite[class](*);
|
93
|
footer[class](default);
|
94
|
blockquote[class](*);
|
95
|
ul[class,type](*);
|
96
|
ol[class,start,type](*);
|
97
|
span[!class](*);
|
98
|
span[!lang](*);
|
99
|
li[class](*);',
|
100
|
'css_setting' => 'theme',
|
101
|
'css_theme' => '',
|
102
|
'css_path' => '',
|
103
|
'stylesSet' => '',
|
104
|
'block_formats' => 'p,address,pre,h2,h3,h4,h5,h6,div',
|
105
|
'mobile_disable' => 0,
|
106
|
'forcePasteAsPlainText' => 0,
|
107
|
'pasteFromWordPromptCleanup' => 0,
|
108
|
'pasteFromWordRemoveFontStyles' => 0,
|
109
|
),
|
110
|
'preferences' => array(
|
111
|
'default' => 1,
|
112
|
'user_choose' => 0,
|
113
|
'show_toggle' => 1,
|
114
|
'add_to_summaries' => 1,
|
115
|
'version' => '4.14.0.8a12b04171',
|
116
|
),
|
117
|
'name' => 'formatfiltered_html',
|
118
|
'rdf_mapping' => array(),
|
119
|
);
|
120
|
|
121
|
// Exported profile: full_html.
|
122
|
$profiles['full_html'] = array(
|
123
|
'format' => 'full_html',
|
124
|
'editor' => 'ckeditor',
|
125
|
'settings' => array(
|
126
|
'buttons' => array(
|
127
|
'default' => array(
|
128
|
'Bold' => 1,
|
129
|
'Italic' => 1,
|
130
|
'Underline' => 1,
|
131
|
'Strike' => 1,
|
132
|
'JustifyLeft' => 1,
|
133
|
'JustifyCenter' => 1,
|
134
|
'BulletedList' => 1,
|
135
|
'NumberedList' => 1,
|
136
|
'Outdent' => 1,
|
137
|
'Indent' => 1,
|
138
|
'Undo' => 1,
|
139
|
'Redo' => 1,
|
140
|
'Link' => 1,
|
141
|
'Unlink' => 1,
|
142
|
'Anchor' => 1,
|
143
|
'Image' => 1,
|
144
|
'BGColor' => 1,
|
145
|
'Superscript' => 1,
|
146
|
'Subscript' => 1,
|
147
|
'Blockquote' => 1,
|
148
|
'Source' => 1,
|
149
|
'HorizontalRule' => 1,
|
150
|
'Cut' => 1,
|
151
|
'Copy' => 1,
|
152
|
'Paste' => 1,
|
153
|
'Font' => 1,
|
154
|
'FontSize' => 1,
|
155
|
'Styles' => 1,
|
156
|
'Table' => 1,
|
157
|
'Find' => 1,
|
158
|
'Replace' => 1,
|
159
|
'CreateDiv' => 1,
|
160
|
'Iframe' => 1,
|
161
|
'Maximize' => 1,
|
162
|
),
|
163
|
'drupal' => array(
|
164
|
'media' => 1,
|
165
|
),
|
166
|
),
|
167
|
'theme' => 'advanced',
|
168
|
'language' => 'en',
|
169
|
'toolbarLocation' => 'top',
|
170
|
'resize_enabled' => 1,
|
171
|
'default_toolbar_grouping' => 0,
|
172
|
'simple_source_formatting' => 0,
|
173
|
'acf_mode' => 0,
|
174
|
'acf_allowed_content' => 'properties;
|
175
|
table[class](*);
|
176
|
tbody[class](*);
|
177
|
tr[class](*);
|
178
|
td[class,colspan](*);
|
179
|
img[title,alt,src,data-cke-saved-src](wysiwyg-break,drupal-content);
|
180
|
video[width,height,controls,src,controlslist,data-delta,data-fid,data-media-element](*);
|
181
|
source[src,type,data-cke-saved-src];
|
182
|
audio[controls,src](*);
|
183
|
img[*](media-element,file-default,media-wysiwyg-align-right,media-wysiwyg-align-left,media-wysiwyg-align-center);
|
184
|
p[class](*);
|
185
|
audio[controls,src](*);
|
186
|
b[class](*);
|
187
|
p[class](default,fanc*,text-align*,Indent*);
|
188
|
a[href,hreflang,data-entity-type,data-entity-uuid,title,target,class,tabindex](*);
|
189
|
h1[class](*);
|
190
|
h2[class](*);
|
191
|
h3[class](*);
|
192
|
h4[class](*);
|
193
|
h5[class](*);
|
194
|
h6[class](*);
|
195
|
hr[class](*);
|
196
|
div[class,aria-labelledby,data-parent,id](*);
|
197
|
button[class,aria-controls,aria-expanded,data-target,data-toggle,type,id](*);
|
198
|
sub[class](*);
|
199
|
sup[class](*);
|
200
|
strong[class](*);
|
201
|
em[class](*);
|
202
|
cite[class](*);
|
203
|
footer[class](default);
|
204
|
blockquote[class](*);
|
205
|
ul[class,type](*);
|
206
|
ol[class,start,type](*);
|
207
|
span[!class](*);
|
208
|
span[!lang](*);
|
209
|
li[class](*);',
|
210
|
'css_setting' => 'theme',
|
211
|
'css_theme' => '',
|
212
|
'css_path' => '',
|
213
|
'stylesSet' => '',
|
214
|
'block_formats' => 'p,address,pre,h2,h3,h4,h5,h6,div',
|
215
|
'mobile_disable' => 0,
|
216
|
'forcePasteAsPlainText' => 0,
|
217
|
'pasteFromWordPromptCleanup' => 0,
|
218
|
'pasteFromWordRemoveFontStyles' => 0,
|
219
|
),
|
220
|
'preferences' => array(
|
221
|
'default' => 1,
|
222
|
'user_choose' => 0,
|
223
|
'show_toggle' => 1,
|
224
|
'add_to_summaries' => 1,
|
225
|
'version' => '4.14.0.8a12b04171',
|
226
|
),
|
227
|
'name' => 'formatfull_html',
|
228
|
'rdf_mapping' => array(),
|
229
|
);
|
230
|
|
231
|
return $profiles;
|
232
|
}
|