Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2012 at 10:13 UTC
Updated:
12 Apr 2013 at 14:40 UTC
The 'Teaser Break' button inserts a <!--break--> at the current location of the textfield. When the textfilter filter_html is active, then the function ckeditor_filter_xss() calls filter_xss() which removes any comments and therefore also removes the <!--break-->.
Disable the textfilter filter_html but this leads to security concerns.
One can either use the textfiler filter_html or the teaser break functionality.
Comments
Comment #1
jcisio commentedFixed with http://drupalcode.org/project/ckeditor.git/commitdiff/655dd5b.
However, it fixes the tripped comment in general. The "teaser break" plugin is no longer necessary in D7, unless you use it for other things than the text_with_summary field.