admin.features.wysiwyg.inc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. /**
  3. * @file
  4. * admin.features.wysiwyg.inc
  5. */
  6. /**
  7. * Implements hook_wysiwyg_default_profiles().
  8. */
  9. function admin_wysiwyg_default_profiles() {
  10. $profiles = array();
  11. // Exported profile: filtred_html
  12. $profiles['filtred_html'] = array(
  13. 'format' => 'filtred_html',
  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. 'underline' => 1,
  26. 'bullist' => 1,
  27. 'numlist' => 1,
  28. 'undo' => 1,
  29. 'redo' => 1,
  30. 'link' => 1,
  31. 'unlink' => 1,
  32. 'image' => 1,
  33. 'cut' => 1,
  34. 'copy' => 1,
  35. 'paste' => 1,
  36. ),
  37. 'advimage' => array(
  38. 'advimage' => 1,
  39. ),
  40. 'advlink' => array(
  41. 'advlink' => 1,
  42. ),
  43. 'font' => array(
  44. 'formatselect' => 1,
  45. ),
  46. 'fullscreen' => array(
  47. 'fullscreen' => 1,
  48. ),
  49. 'paste' => array(
  50. 'pastetext' => 1,
  51. ),
  52. 'searchreplace' => array(
  53. 'search' => 1,
  54. 'replace' => 1,
  55. ),
  56. 'advlist' => array(
  57. 'advlist' => 1,
  58. ),
  59. 'wordcount' => array(
  60. 'wordcount' => 1,
  61. ),
  62. 'video_filter' => array(
  63. 'video_filter' => 1,
  64. ),
  65. 'drupal' => array(
  66. 'break' => 1,
  67. ),
  68. ),
  69. 'toolbar_loc' => 'top',
  70. 'toolbar_align' => 'left',
  71. 'path_loc' => 'bottom',
  72. 'resizing' => 1,
  73. 'verify_html' => 1,
  74. 'preformatted' => 0,
  75. 'convert_fonts_to_spans' => 1,
  76. 'remove_linebreaks' => 1,
  77. 'apply_source_formatting' => 0,
  78. 'paste_auto_cleanup_on_paste' => 1,
  79. 'block_formats' => 'h2,h3,h4,h5,h6',
  80. 'css_setting' => 'theme',
  81. 'css_path' => '',
  82. 'css_classes' => '',
  83. 'buttonorder' => 'fullscreen,separator,bold,italic,underline,separator,formatselect,separator,bullist,numlist,advlist,separator,link,advlink,unlink,separator,image,advimage,video_filter,separator,cut,copy,paste,pastetext,search,replace,wordcount,separator,undo,redo,separator,break',
  84. ),
  85. );
  86. return $profiles;
  87. }