| Commit | Line | Data |
|---|---|---|
| 9c4ef43f TS |
1 | Introduction |
| 2 | ------------ | |
| 3 | ||
| 4 | This tinyMCE plugin is designed to be used in conjunction with the Drupal CMS | |
| 5 | More details available at http://drupal.org. | |
| 6 | ||
| 7 | This plugin adds two buttons to the tinyMCE toolbar. One button inserts a visible | |
| 8 | <!--break--> tag into the editor. This effectively splits the teaser and body of a story | |
| 9 | in Drupal 4.6 or higher. The other button inserts a <!--pagebreak--> tag. This is | |
| 06ff43d9 | 10 | made to be used with the paging module <http://drupal.org/project/paging>. |
| 9c4ef43f TS |
11 | |
| 12 | Installation | |
| 06ff43d9 TS |
13 | ------------ |
| 14 | 1. Copy the drupalbreak directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins). | |
| 15 | 2. Open up plugin_reg.php and add the following lines to end of that file: | |
| 16 | ||
| 17 | $plugins['drupalbreak'] = array(); | |
| 18 | $plugins['drupalbreak']['theme_advanced_buttons3'] = array('drupalbreak', 'drupalpagebreak'); | |
| 19 | ||
| 20 | 3. Then enable this plugin under Admin > Settings > TinyMCE, under the Buttons & Plugins section |