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.
Options

Can CLEditor jQuery WYSIWYG be simplified?

edited November 2010 in Vanilla 2.0 - 2.8
Can CLEditor jQuery WYSIWYG be simplified?

The thought of my members using most of these buttons terrifies me.
Tagged:

Comments

  • Options
    Any idea how to remove most of the buttons from CLEditor?
  • Options
    jpradojprado New
    edited December 2010
    Change default.php line 91 to this, and remove buttons as needed.

    ed = jQuery(this).cleditor({
    width:"100%",
    height:"100%",
    controls: // controls to add to the toolbar
    "bold italic underline strikethrough subscript superscript | font size " +
    "style | color highlight removeformat | bullets numbering | outdent " +
    "indent | alignleft center alignright justify | undo redo | " +
    "rule image link unlink | cut copy paste pastetext | print source"
    })[0];
  • Options
    LincLinc Detroit Admin
    Thanks @jprado, I'm going to need that this week.
  • Options

    Does this still apply? I have tried adding in that script on line 91, then removing parts, it has no effect at all.

  • Options

    Never mind worked it out, it was line 98....

Sign In or Register to comment.