This is on a test site with latest version of WYSIWYG API (using TinyMCE) and Drupal 6.12, using the Garland theme and Firefox 3.0.11 on Ubuntu Linux --
The paging filter is enabled within the Full HTML input format, and is configured (at admin/settings/paging) for the Page content type.
To reproduce the bug:
1. Go to admin/settings/paging -- for the "Page" content type, set the Page separator string to <hr />, and check the box next to Display Page names interface
2. Navigate to node/add/page to add a new page. Using the "horizontal rule" button add in several horizontal rules. Note that, despite the Display Page names interface being set to display, they do not display until:
3. You click the Disable rich text link provided by the WYSIWYG API, and place the cursor inside the body of the node. Then, the Page names interface is displayed, and page titles can be entered.
4. At this point, if you save the node *without* re-enabling the text editor, the custom page titles will be saved, and will display correctly. If, however, you re-enable the text editor before saving the node, the custom page titles will still be displayed on the node edit form, but they will not be saved.
Comments
Comment #1
Gurpartap Singh commentedYeah, pretty much that's why we are still in beta.
Comment #2
guillaumeduveauThat's because WYSIWYG editors transform characters with html_entities, so < and > are changed.
Comment #3
AlsConfirm behaviour reported by bonobo.
Kudos for his workaround, or I would have to abandon the module.
Maybe it's time for the module maintainers to look after this problem, WYSIWYG editors are a standard now and you just cannot conflict with primary tools...
Comment #4
vlooivlerke commentedNo matter what you try, Ckeditor will not save the page titles.
Comment #5
jenlamptonCKEditor has a setting that will allow HTML comments. I don't believe there is a user interface for this setting, but it's there in the code somewhere. If you would like to use page names with CKeditor, you'll need to locate this setting.
TinyMCE exposes this setting in the user interface in WYSIWYG API module, so all you need to do is check the box to allow HTML comments and the page titles you added without the editor enabled will be saved.
There is still a conflict with the javascript for adding page names, and the javascript for enabling a WYSIWYG editor. However, since we have a new plugin for adding pagebreaks within WYSIWYG editors, I'd prefer to see the page names available within the editor (instead of requiring that the editor be disabled to add page names).
I'm going to mark this issue as a feature request (postponed) until someone wants to extend the WYSIWYG plugin to this end. For the time being, if you want to use both Page Names and a WYSIWYG editor, you'll need to find a way around the conflict.
Comment #6
nancydruI am not seeing this issue in the current code. Please check if it is still happening.
Comment #7
nancydruSetting this back to 6.x because this is not available in 7.x, but the similar feature in 7.x works fine.
Comment #8
nancydru