forked from ding2/ding_content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ding_content.features.wysiwyg.inc
61 lines (58 loc) · 1.42 KB
/
ding_content.features.wysiwyg.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
<?php
/**
* @file
* ding_content.features.wysiwyg.inc
*/
/**
* Implements hook_wysiwyg_default_profiles().
*/
function ding_content_wysiwyg_default_profiles() {
$profiles = array();
// Exported profile: ding_wysiwyg
$profiles['ding_wysiwyg'] = array(
'format' => 'ding_wysiwyg',
'editor' => 'ckeditor',
'settings' => array(
'default' => 1,
'user_choose' => 0,
'show_toggle' => 1,
'theme' => 'advanced',
'buttons' => array(
'default' => array(
'Bold' => 1,
'Italic' => 1,
'Underline' => 1,
'BulletedList' => 1,
'NumberedList' => 1,
'Link' => 1,
'Unlink' => 1,
'Anchor' => 1,
'Blockquote' => 1,
'Source' => 1,
'ShowBlocks' => 1,
'RemoveFormat' => 1,
'Styles' => 1,
'Table' => 1,
),
'drupal' => array(
'media' => 1,
),
),
'toolbar_loc' => 'top',
'toolbar_align' => 'left',
'path_loc' => 'bottom',
'resizing' => 1,
'verify_html' => 1,
'preformatted' => 0,
'convert_fonts_to_spans' => 1,
'remove_linebreaks' => 1,
'apply_source_formatting' => 0,
'paste_auto_cleanup_on_paste' => 0,
'block_formats' => 'p,address,pre,h2,h3,h4,h5,h6,div',
'css_setting' => 'theme',
'css_path' => '',
'css_classes' => '',
),
);
return $profiles;
}