It looks like you're new here. If you want to get involved, click one of these buttons!
The cleditor does a great job formatting users comments and keeping things nice n simple. However it has WAY too many buttons, for example, ones for copy,paste and print are really not needed.
Is there any way to edit what buttons it uses to make is simpler and cleaner for users?
yes of course
as I remember in the plugin starting php file there's a script for "jquery(document).ready"- there you can delete buttons and change their places, and set the groups as you want with | char
Answers
Can I bring this question back up? I'm confused as to your answer for this problem. I'm sure it's easy, only I am a newb.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I've found the following script in my default.php for cleditor, no clude even if I'm looking in the correct place, just based off of your previous answer.
<script type="text/javascript"> jQuery(document).ready(function($) { // Make sure the removal of autogrow does not break anything jQuery.fn.autogrow = function(o) { return; } // Attach the editor to comment boxes jQuery("#Form_Body").livequery(function() { var frm = $(this).parents("div.CommentForm"); ed = jQuery(this).cleditor({width:"100%", height:"100%"})[0]; this.editor = ed; // Support other plugins! jQuery(frm).bind("clearCommentForm", {editor:ed}, function(e) { frm.find("textarea").hide(); e.data.editor.clear(); }); }); }); </script>');- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •The Buttons work using a sprite image, that means that the toolbar uses one image for all the buttons. If you were to disable a button/function from the jquery.cleditor.min.js you would also have to edit the toolbar image that has the rest of the buttons. If you don't wan't the full functionality of the cleditor, then just disable it in the dashboard and you will have a minimalistic Form.
|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅| - ☊ - ♫ ♪ ♪ ♫ ♩ ♬ ♬ ♮ ♯ ♫ ♪ ♪ ♫ ♩ ♬ ♭ ....... (•̪●)(•̪●)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@vrijvlinder Thanks, I'll give this a try, hopefully later today.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •