Closed (fixed)
Project:
Lost & found issues
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2011 at 08:55 UTC
Updated:
11 May 2011 at 18:39 UTC
Jump to comment: Most recent
Moving post over from here. http://drupal.org/node/865034#comment-4451236
I've installed axel.rutz's module from #31. I've configured my text formats to include the WYSIWYG filter. Then I configured WYSIWYG filter's settings. All of that seems to work fine, the one BIG problem is that WYSIWYG filter's settings are being ignored.
In the following example, with my configuration, all of these inline css elements should be getting stripped out. But, they are not.
<div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; ">...</div>
Can anyone else confirm this?
Comments
Comment #1
geek-merlinme.
quite nasty to figure that out.
an include was lost in the battle...
hunted down, restored and committed.
also filed: #1154254: Missing filter process callbacks are silently ignored
anyone has some time to write tests?
Comment #2
bryancasler commentedSeems to have fixed the above styles from being inserted, but now every image is being stripped out.
INPUT
OUTPUT
Filter's Settings
http://awesomescreenshot.com/0cdctz9f6
Comment #3
bryancasler commentedSo I'm still playing around with it, but it looks like I needed to add something along the lines of
img[!src|target<_blank|title|alt],to filters "HTML elements and attributes" setting's.UPDATE
I ended up adding
img[!src|target|title|alt|class|style],to "HTML elements and attributes"I then enabled the necessary checkboxes...
Dimension properties (height, width)
Positioning properties (left, right)
Layout properties (float)
Lastly I added the necessary classes to "Rules for Class Names"