diff --git a/sites/all/modules/unl_wysiwyg/unl_wysiwyg.module b/sites/all/modules/unl_wysiwyg/unl_wysiwyg.module index 4f397ba1d3409ae67fdce8227be01478f287ea27..7d447fa0f16ee3ceb4092119fb07dc63ff068032 100644 --- a/sites/all/modules/unl_wysiwyg/unl_wysiwyg.module +++ b/sites/all/modules/unl_wysiwyg/unl_wysiwyg.module @@ -39,7 +39,7 @@ function unl_wysiwyg_wysiwyg_editor_settings_alter(&$settings, $context) { // Process a default order for the buttons $enabled_buttons = preg_split('/,/', $settings['theme_advanced_buttons1']); - $default_buttons = array('formatselect', '|', 'bold', 'italic', 'strikethrough', '|', 'bullist', 'numlist', 'blockquote', '|', 'justifyleft', 'justifycenter','justifyright','|','link', 'unlink', 'image', '|', 'pastetext', 'pasteword', 'removeformat', '|', 'pdw_toggle', + $default_buttons = array('formatselect', '|', 'bold', 'italic', 'strikethrough', '|', 'bullist', 'numlist', 'blockquote', '|', 'justifyleft', 'justifycenter','justifyright','|','link', 'unlink', 'image', 'media', '|', 'pastetext', 'pasteword', 'removeformat', '|', 'pdw_toggle', 'PAGEBREAK', 'styleselect', 'forecolor', 'backcolor', '|', 'underline', '|', 'justifyfull', '|', 'sup', 'sub', 'charmap', '|', 'indent', 'outdent', '|', 'anchor', '|', 'unlGrid', 'unlZenBox', 'unlTooltip', '|', 'undo', 'redo', '|', 'search', 'replace', '|', 'fullscreen', ); foreach ($default_buttons as $button) { if (in_array($button, $enabled_buttons)) {