comparison rrr_features.features.wysiwyg.inc @ 20:a0535331f47e

changed resources view
author danieleb <danielebarchiesi@me.com>
date Fri, 06 Dec 2013 11:36:04 +0000
parents
children
comparison
equal deleted inserted replaced
19:664551cf9df2 20:a0535331f47e
1 <?php
2 /**
3 * @file
4 * rrr_features.features.wysiwyg.inc
5 */
6
7 /**
8 * Implements hook_wysiwyg_default_profiles().
9 */
10 function rrr_features_wysiwyg_default_profiles() {
11 $profiles = array();
12
13 // Exported profile: full_html
14 $profiles['full_html'] = array(
15 'format' => 'full_html',
16 'editor' => 'ckeditor',
17 'settings' => array(
18 'default' => 1,
19 'user_choose' => 1,
20 'show_toggle' => 1,
21 'theme' => 'advanced',
22 'language' => 'en',
23 'buttons' => array(
24 'default' => array(
25 'Bold' => 1,
26 'Italic' => 1,
27 'Underline' => 1,
28 'Strike' => 1,
29 'JustifyLeft' => 1,
30 'JustifyCenter' => 1,
31 'JustifyRight' => 1,
32 'JustifyBlock' => 1,
33 'BulletedList' => 1,
34 'NumberedList' => 1,
35 'Outdent' => 1,
36 'Indent' => 1,
37 'Undo' => 1,
38 'Redo' => 1,
39 'Link' => 1,
40 'Unlink' => 1,
41 'Image' => 1,
42 'Superscript' => 1,
43 'Subscript' => 1,
44 'Blockquote' => 1,
45 'Source' => 1,
46 'HorizontalRule' => 1,
47 'Cut' => 1,
48 'Copy' => 1,
49 'Paste' => 1,
50 'PasteText' => 1,
51 'PasteFromWord' => 1,
52 'RemoveFormat' => 1,
53 'Format' => 1,
54 'Font' => 1,
55 'FontSize' => 1,
56 'Styles' => 1,
57 'Table' => 1,
58 'SelectAll' => 1,
59 'Find' => 1,
60 'Replace' => 1,
61 'SpellChecker' => 1,
62 'Scayt' => 1,
63 ),
64 ),
65 'toolbar_loc' => 'top',
66 'toolbar_align' => 'left',
67 'path_loc' => 'bottom',
68 'resizing' => 1,
69 'verify_html' => 1,
70 'preformatted' => 0,
71 'convert_fonts_to_spans' => 1,
72 'remove_linebreaks' => 1,
73 'apply_source_formatting' => 0,
74 'paste_auto_cleanup_on_paste' => 0,
75 'block_formats' => 'p,address,pre,h2,h3,h4,h5,h6,div',
76 'css_setting' => 'theme',
77 'css_path' => '',
78 'css_classes' => '',
79 ),
80 );
81
82 return $profiles;
83 }