SproutCMS

This is the code documentation for the SproutCMS project

source of /config/tinymce4.php

The default group of settings to load
  1. <?php
  2.  
  3.  
  4. /**
  5. * The default group of settings to load
  6. **/
  7. $config['default_group'] = 'Standard';
  8.  
  9.  
  10. /**
  11. * Toolbar buttons for the Standard group
  12. **/
  13. $config['Standard']['toolbar'] = array(
  14. 'bold italic strikethrough subscript superscript link unlink anchor | removeformat | code fullscreen',
  15. 'styleselect | style-h2 style-h3 style-h4 style-p | bullist numlist indent outdent | alignleft alignright | image sprout_gallery media table '
  16. );
  17.  
  18. /**
  19. * Tables for the Standard group
  20. **/
  21. $config['Standard']['table_default_attributes'] = array('class' => 'table--content-standard');
  22. $config['Standard']['table_appearance_options'] = false;
  23. $config['Standard']['table_advtab'] = false;
  24. $config['Standard']['table_cell_advtab'] = false;
  25. $config['Standard']['table_row_advtab'] = false;
  26. $config['Standard']['table_class_list'] = array(
  27. array('title' => 'Standard', 'value' => 'table--content-standard'),
  28. array('title' => 'Unstyled', 'value' => 'table__no-styles'),
  29. array('title' => 'Small', 'value' => 'table--content-standard table--content-small'),
  30. array('title' => 'Responsive', 'value' => 'table--content-standard table--responsive'),
  31. );
  32.  
  33. /**
  34. * Link classes for the Standard group
  35. **/
  36. $config['Standard']['link_class_list'] = array(
  37. array('title' => 'Standard', 'value' => ''),
  38. array('title' => 'Button', 'value' => 'button'),
  39. array('title' => 'Popup Page', 'value' => 'js-popup-page'),
  40. array('title' => 'Popup Image', 'value' => 'js-popup-image'),
  41. );
  42.  
  43. /**
  44. * Image classes for the Standard group
  45. **/
  46. $config['Standard']['image_class_list'] = array(
  47. array('title' => 'Inline', 'value' => ''),
  48. array('title' => 'Align right', 'value' => 'right'),
  49. array('title' => 'Align left', 'value' => 'left'),
  50. array('title' => 'Center', 'value' => 'center'),
  51. );
  52.  
  53. /**
  54. * Formats dropdown for the Standard group
  55. **/
  56. $config['Standard']['style_formats'] = array(
  57. array('title' => 'Headings', 'items' => array(
  58. array('title' => 'Heading 2', 'format' => 'h2'),
  59. array('title' => 'Heading 3', 'format' => 'h3'),
  60. array('title' => 'Heading 4', 'format' => 'h4'),
  61. )),
  62. array('title' => 'Block', 'items' => array(
  63. array('title' => 'Paragraph', 'format' => 'p'),
  64. array('title' => 'Blockquote', 'format' => 'blockquote'),
  65. array('title' => 'Blockquote to the right', 'block' => 'blockquote', 'classes' => 'blockquote--right', 'wrapper' => true),
  66. array('title' => 'Blockquote to the left', 'block' => 'blockquote', 'classes' => 'blockquote--left', 'wrapper' => true),
  67. )),
  68. array('title' => 'Inline', 'items' => array(
  69. array('title' => 'Bold', 'format' => 'bold'),
  70. array('title' => 'Italic', 'format' => 'italic'),
  71. )),
  72. array('title' => 'Wrappers', 'items' => array(
  73. array('title' => 'Expando', 'block' => 'div', 'classes' => 'expando', 'wrapper' => true),
  74. array('title' => 'Highlight', 'block' => 'div', 'classes' => 'highlight', 'wrapper' => true),
  75. array('title' => 'Highlight to the right', 'block' => 'div', 'classes' => 'highlight--right', 'wrapper' => true),
  76. array('title' => 'Highlight to the left', 'block' => 'div', 'classes' => 'highlight--left', 'wrapper' => true),
  77. )),
  78. );
  79.  
  80.  
  81. /**
  82. * Toolbar buttons for the Lite group
  83. **/
  84. $config['Lite']['toolbar'] = array(
  85. 'bold italic'
  86. );
  87.  
  88.