Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem
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-->
.
Workaround
Disable the textfilter filter_html but this leads to security concerns.
Conclusion
One can either use the textfiler filter_html or the teaser break functionality.
Comments
Comment #1
jcisio CreditAttribution: 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.