This may be a bit of overkill, but I was having fun with it and it's pretty cool.

Here's a patch that adds a settings form for pullquote with a textarea for adding CSS that will override the hard-coded CSS in pullquote.css. A couple reasons for this:

  1. Allows less-experienced people (or people who don't have server access, etc) to edit the styling of the pullquotes.
  2. The user styles are not changed when the module is updated.

A next step for this in my mind would be to add some UI elements (color selector, etc) to change style settings and maybe include this form as an advanced setting or something.

CommentFileSizeAuthor
#1 1070088-pullquote-css-editor.patch2.33 KBcallison

Comments

callison’s picture

StatusFileSize
new2.33 KB
david@thrale.com’s picture

After some debate outside this issue queue, the consensus is that this feature should:

  • have mandatory user restrictions, which enable super users (and possibly other very trusted users) to edit only pullquote CSS id's or classes;
  • ideally, do some sanitising to protect against malicious or defective CSS; and
  • optionally, allow super-cautious users to also use use Chaos Tools Module, but ensure that use without other third party modules is not essential.
lliss’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Needs review » Fixed

Not inline editable but we now allow uploads and pointing to a path on the file system.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.