admin.features.wysiwyg.inc 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. 'formatselect' => 1,
  34. 'cut' => 1,
  35. 'copy' => 1,
  36. 'paste' => 1,
  37. ),
  38. 'advimage' => array(
  39. 'advimage' => 1,
  40. ),
  41. 'advlink' => array(
  42. 'advlink' => 1,
  43. ),
  44. 'fullscreen' => array(
  45. 'fullscreen' => 1,
  46. ),
  47. 'paste' => array(
  48. 'pastetext' => 1,
  49. ),
  50. 'searchreplace' => array(
  51. 'search' => 1,
  52. 'replace' => 1,
  53. ),
  54. 'advlist' => array(
  55. 'advlist' => 1,
  56. ),
  57. 'wordcount' => array(
  58. 'wordcount' => 1,
  59. ),
  60. 'imce' => array(
  61. 'imce' => 1,
  62. ),
  63. 'drupal' => array(
  64. 'break' => 1,
  65. ),
  66. ),
  67. 'toolbar_loc' => 'top',
  68. 'toolbar_align' => 'left',
  69. 'path_loc' => 'bottom',
  70. 'resizing' => 1,
  71. 'verify_html' => 1,
  72. 'preformatted' => 0,
  73. 'convert_fonts_to_spans' => 1,
  74. 'remove_linebreaks' => 1,
  75. 'apply_source_formatting' => 0,
  76. 'paste_auto_cleanup_on_paste' => 1,
  77. 'block_formats' => 'p,h3,h4',
  78. 'css_setting' => 'self',
  79. 'css_path' => '/sites/all/themes/gui/jee/css/wysiwyg.css',
  80. 'css_classes' => 'habillage gauche=floatleft
  81. habillage droite=floatright',
  82. 'buttonorder' => 'fullscreen,separator,bold,italic,underline,separator,separator,bullist,numlist,advlist,separator,link,advlink,unlink,separator,image,separator,cut,copy,paste,pastetext,search,replace,wordcount,separator,undo,redo,separator,break,formatselect,imce,advimage',
  83. ),
  84. );
  85. return $profiles;
  86. }