Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Formatin blockquotes in editor

RajioRajio
edited June 2011 in Vanilla 2.0 - 2.8
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:

Answers

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