Text format input filter problem - cannot get style attributes to work

Events happening in the community are now at Drupal community events on www.drupal.org.
dang42's picture

I'm using CKEditor on a client's site and cannot find any documentation that shows how to create a text filter that will let a user enter style attributes (like changing the size of text). And by "user" I mean someone other than a trusted admin, so "Full HTML" is not an option.

Note - I'm not having any issues setting up CKEditor itself (either standalone, or with the WYSIWYG module), just the input filters...

I am clearly not the first person to want to do this so I'm assuming there has to be instructions out there somewhere. While I have found a bunch of information on what needs to be done - disable the "limit allowed html tags" option, install some other filtering system (like htmlpurifier), then set up filtering to allow for the limited tags & attributes I want available - I can't find documentation that tells me exactly how to do so, and nothing I've tried so far is anything close to self-explanatory.

My best guess is that I simply don't understand this issue well enough to enter the correct search strings into google to get me the answers I need. Any / all help will be much appreciated.

As usual, links to helpful info would be more than sufficient. Thanks!

Comments

Basic doc on text formats

Unitoch's picture

Are you just looking for the info on how to set up text formats? https://drupal.org/node/778976

Nevermind...

dang42's picture

The answer to your question is "no"...

...however, in looking at the text format I'd set up and the html tags I'd allowed for it (so that I could better explain what I was asking), I realized I neglected to include the "span" tag in the list. Oops...

Adding that tag to the filter allowed the attributes contained within it to take affect - go figure.

So, thank you very much for the reply and the link, as they got me to notice what a couple of very frustrating hours of digging before hadn't... :)

Twin Cities

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: