Closed (fixed)
Project:
Wysiwyg
Version:
6.x-2.4
Component:
Editor - TinyMCE
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2012 at 06:33 UTC
Updated:
9 Mar 2012 at 07:10 UTC
I did search before posting. Apologies is this is documented somewhere. However WYSIWYG appears to override the TinyMCE Page Break with the Drupal Teaser break. I need to allow clerical staff to insert page breaks when printing documents. This had been working.
How do I get the TinyMCE Page Break behavior back??
Thanks in advance.
Comments
Comment #1
twodWysiwyg's Teaser Break plugin does technically not replace TinyMCE's page break plugin. We just didn't include official support for the page break plugin bundled with TinyMCE because Drupal core does not use or understand page break markers without additional modules.
Which module are you using for page breaks? Some of them, like Smart Paging for D7 includes their own plugin for adding manual breaks. If the module you're using doesn't, it's possible to inform Wysiwyg about the existing TinyMCE plugin by implementing hook_wysiwyg_plugin() the way it was done for FCKeditor in #801576: How To Create <!--pagebreak-->.
The needed module would look like this:
sites/all/modules/custom/custom.info:
sites/all/modules/custom/custom.module:
Enable the custom module and TinyMCE should have a new button to enable called "TinyMCE Page Break".
Comment #2
ashley.maher@didymodesigns.com.au commentedHenrik,
Thank-you that worked a treat!
Regards,
Ashley