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

geek-merlin’s picture

Status: Active » Closed (fixed)

me.
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?

bryancasler’s picture

Seems to have fixed the above styles from being inserted, but now every image is being stripped out.

INPUT

<img alt="" class="image-960w" src="http://localhost/drupal7/sites/default/files/public/styles/960w/public/slides/full_benefits.jpg" style="float: right;" title="" />

OUTPUT

<img src="">

Filter's Settings
http://awesomescreenshot.com/0cdctz9f6

bryancasler’s picture

So 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"

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 1105784)