mailing.features.wysiwyg.inc 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. /**
  3. * @file
  4. * mailing.features.wysiwyg.inc
  5. */
  6. /**
  7. * Implements hook_wysiwyg_default_profiles().
  8. */
  9. function mailing_wysiwyg_default_profiles() {
  10. $profiles = array();
  11. // Exported profile: mailhtml
  12. $profiles['mailhtml'] = array(
  13. 'format' => 'mailhtml',
  14. 'editor' => 'tinymce',
  15. 'settings' => array(
  16. 'default' => 1,
  17. 'user_choose' => 0,
  18. 'show_toggle' => 1,
  19. 'theme' => 'advanced',
  20. 'language' => 'en',
  21. 'buttons' => array(
  22. 'default' => array(
  23. 'bold' => 1,
  24. 'italic' => 1,
  25. 'justifyleft' => 1,
  26. 'justifycenter' => 1,
  27. 'justifyfull' => 1,
  28. 'link' => 1,
  29. 'image' => 1,
  30. 'forecolor' => 1,
  31. ),
  32. 'advimage' => array(
  33. 'advimage' => 1,
  34. ),
  35. 'advlink' => array(
  36. 'advlink' => 1,
  37. ),
  38. 'fullscreen' => array(
  39. 'fullscreen' => 1,
  40. ),
  41. 'searchreplace' => array(
  42. 'search' => 1,
  43. 'replace' => 1,
  44. ),
  45. 'style' => array(
  46. 'styleprops' => 1,
  47. ),
  48. 'table' => array(
  49. 'tablecontrols' => 1,
  50. ),
  51. 'imce' => array(
  52. 'imce' => 1,
  53. ),
  54. 'video_filter' => array(
  55. 'video_filter' => 1,
  56. ),
  57. ),
  58. 'toolbar_loc' => 'top',
  59. 'toolbar_align' => 'left',
  60. 'path_loc' => 'bottom',
  61. 'resizing' => 1,
  62. 'verify_html' => 1,
  63. 'preformatted' => 0,
  64. 'convert_fonts_to_spans' => 1,
  65. 'remove_linebreaks' => 1,
  66. 'apply_source_formatting' => 0,
  67. 'paste_auto_cleanup_on_paste' => 0,
  68. 'block_formats' => 'p,h2,h3,h4,h5,h6,span,div',
  69. 'css_setting' => 'self',
  70. 'css_path' => '%bsites/all/themes/gui/materiobasetheme/css/wysiwyg.css',
  71. 'css_classes' => 'Column break=columnbreak',
  72. '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',
  73. ),
  74. );
  75. return $profiles;
  76. }