It seems that the output filter chain associated with a node gets executed on node edit form when ckeditor is active.
This might causing the issues #1502140: Since lastest update can not upload images anymore and #1502830: Content not displaying, disappearing, loss if saved..
We have already lost some html formatting!

Comments

mkalkbrenner’s picture

The trouble is caused by the changes within ckeditor_filter_xss(). Unfortunately you can't simply reverted to it's implementation in 6.x-1.8.

If I skip the filters and simply return $_POST['text'] immediately, the html looks like it should be.

(@all: returning $_POST['text'] is not fix, because this will introduce a serious security issue!)

mkalkbrenner’s picture

Title: Seems that outputfilters filters are executed in edit mode » ckeditor_filter_xss() destroys content by executing to many output filters edit mode
mkalkbrenner’s picture

Didn't find this ticket earlier: #1491462: All filters applied in ckeditor_filter_xss()

This patch seems to fix our issue.

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

@mkalkbrenner, pls try to update to last DEV version and then check does it all works for you...

Greetings

manoloka’s picture

Status: Postponed (maintainer needs more info) » Active
mkesicki’s picture

Status: Active » Closed (duplicate)