Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 22

CurtisOdenSpencerMcTorbjornericgillettejohansonlockerkasperisager +16 guests

Formatin blockquotes in editor

This discussion is related to the CLEditor jQuery WYSIWYG addon.
Right now when there are blockquotes in the CLeditor window, they indent but remain otherwise indistinguishable from other text. I would like to be able to format blockquotes within teh window (with a background and border) ....I've tried but nothing seems to be happening.

How would you go about doing this?
Tagged:

Comments

  • Posts: 77
    I believe this can be done by setting a blockquote CSS element in your theme's CSS file. Try it and report back!
  • Posts: 177
    First thing I tried - no result (it just themes the quotes as they appear in posts, not as they appear in the editor)
  • Posts: 177
    also editing
    \plugins\cleditor\design\jquery.cledditor.css
    to include
    blockquote {
    background-color: #CC6633 !important;
    }
    does nothing. hrmmmm
  • Posts: 177
    upon inspection, I believe the plugin is looking in the wrong place for a CSS file
  • Posts: 177
    Solved it;

    Change


    ../design/jquery.cleditor.css


    to


    ../../plugins/cleditor/design/jquery.cleditor.css


    on line 99 of cleditor/default.php

    Make sure blockquote is defined in jquery.cleditor.css and make sure

    useCSS: true,

    in jquery.cleditor.js
Sign In or Register to comment.