admin.features.wysiwyg.inc 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. 'theme' => 'advanced',
  17. 'language' => 'en',
  18. 'buttons' => array(
  19. 'default' => array(
  20. 'bold' => 1,
  21. 'italic' => 1,
  22. 'underline' => 1,
  23. 'bullist' => 1,
  24. 'numlist' => 1,
  25. 'undo' => 1,
  26. 'redo' => 1,
  27. 'link' => 1,
  28. 'unlink' => 1,
  29. 'image' => 1,
  30. 'cut' => 1,
  31. 'copy' => 1,
  32. 'paste' => 1,
  33. 'formatselect' => 1,
  34. ),
  35. 'advimage' => array(
  36. 'advimage' => 1,
  37. ),
  38. 'advlink' => array(
  39. 'advlink' => 1,
  40. ),
  41. 'font' => array(),
  42. 'fullscreen' => array(
  43. 'fullscreen' => 1,
  44. ),
  45. 'paste' => array(
  46. 'pastetext' => 1,
  47. ),
  48. 'searchreplace' => array(
  49. 'search' => 1,
  50. 'replace' => 1,
  51. ),
  52. 'advlist' => array(
  53. 'advlist' => 1,
  54. ),
  55. 'wordcount' => array(
  56. 'wordcount' => 1,
  57. ),
  58. 'video_filter' => array(
  59. 'video_filter' => 1,
  60. ),
  61. 'drupal' => array(
  62. 'break' => 1,
  63. ),
  64. ),
  65. 'verify_html' => 1,
  66. 'preformatted' => 0,
  67. 'convert_fonts_to_spans' => 1,
  68. 'remove_linebreaks' => 1,
  69. 'apply_source_formatting' => 0,
  70. 'paste_auto_cleanup_on_paste' => 1,
  71. 'css_setting' => 'theme',
  72. 'css_path' => '',
  73. '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',
  74. 'theme_advanced_statusbar_location' => 'bottom',
  75. 'theme_advanced_toolbar_location' => 'top',
  76. 'theme_advanced_toolbar_align' => 'left',
  77. 'theme_advanced_blockformats' => 'h2,h3,h4,h5,h6',
  78. 'theme_advanced_styles' => '',
  79. 'theme_advanced_resizing' => 1,
  80. ),
  81. 'preferences' => array(
  82. 'add_to_summaries' => NULL,
  83. 'default' => 1,
  84. 'show_toggle' => 1,
  85. 'user_choose' => 0,
  86. 'version' => '3.5.7',
  87. ),
  88. 'name' => 'formatfiltred_html',
  89. );
  90. return $profiles;
  91. }