<?php
/**
 * @file
 * mailing.features.wysiwyg.inc
 */

/**
 * Implements hook_wysiwyg_default_profiles().
 */
function mailing_wysiwyg_default_profiles() {
  $profiles = array();

  // Exported profile: mailhtml
  $profiles['mailhtml'] = array(
    'format' => 'mailhtml',
    'editor' => 'tinymce',
    'settings' => array(
      'default' => 1,
      'user_choose' => 0,
      'show_toggle' => 1,
      'theme' => 'advanced',
      'language' => 'en',
      'buttons' => array(
        'default' => array(
          'bold' => 1,
          'italic' => 1,
          'justifyleft' => 1,
          'justifycenter' => 1,
          'justifyfull' => 1,
          'link' => 1,
          'image' => 1,
          'forecolor' => 1,
        ),
        'advimage' => array(
          'advimage' => 1,
        ),
        'advlink' => array(
          'advlink' => 1,
        ),
        'fullscreen' => array(
          'fullscreen' => 1,
        ),
        'searchreplace' => array(
          'search' => 1,
          'replace' => 1,
        ),
        'style' => array(
          'styleprops' => 1,
        ),
        'table' => array(
          'tablecontrols' => 1,
        ),
        'imce' => array(
          'imce' => 1,
        ),
        'video_filter' => array(
          'video_filter' => 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,h2,h3,h4,h5,h6,span,div',
      'css_setting' => 'self',
      'css_path' => '%bsites/all/themes/gui/materiobasetheme/css/wysiwyg.css',
      'css_classes' => 'Column break=columnbreak',
      'buttonorder' => 'fullscreen,separator,bold,italic,forecolor,styleprops,separator,justifyleft,justifycenter,justifyfull,separator,separator,link,advlink,separator,image,advimage,imce,separator,tablecontrols,separator,replace,search,video_filter',
    ),
  );

  return $profiles;
}
