Horde editor shows limited options
Hi,
I am trying to compose email in HTML format and for this I have enabled html composition in Horde.
My issue is I can't get all HTML editor tools (default 3 rows html options). I can see only limited options to compose HTML just in one row.
Please check attachments current.png (left thumbnail, which currently I have) and expected.png (right thumbnail, which I need to be there actually). Where can I enable all HTML composition option in WYSIWYG HTML editor?
- Removed -
Thank
-
Hello, Could you attach the images directly to the post as attachments? Thank you. 0 -
I tried to edit the post after publishing but was getting error. At the moment I couldn't find option to edit post (TOOLS just have report link) so attaching two images as reply. Left thumbnail, which currently I have and right thumbnail, which I need to be there actually. . Where can I enable all HTML composition option in WYSIWYG HTML editor? WHM and cPanel version: 60.0.24 0 -
Hello, The removal of those options by default stems from an upstream change from Horde in the default prefs.php file: You can revert this change by editing the /usr/local/cpanel/base/horde/imp/config/prefs.php file. Look for the following section: // The list of buttons to show in CKeditor // See http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar for // details on configuration $_prefs['ckeditor_buttons'] = array( 'value' => "[['Bold','Italic','Underline'],['Font','FontSize'],['TextColor','BGColor'],['Cut','Copy','Paste'],['Undo','Redo'],['Link','Unlink'],['Image','Table','Smiley','SpecialChar']]", // Very basic set of buttons: // 'value' => "['Bold','Italic','-','NumberedList','BulletedList','-','Link','Unlink']", // More advanced set of buttons (default for IMP < 6.2): // 'value' => "[['Source','Maximize','-','Templates'],['Cut','Copy','Paste'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],'/',['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],['Link','Unlink'],['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],'/',['Styles','Format','Font','FontSize'],['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],['TextColor','BGColor']]", ); $_prefs['signature_expanded'] = array( 'value' => 0, 'type' => 'implicit', );
You'd disable the first "value" entry and enable the last value entry so it would look like this:// The list of buttons to show in CKeditor // See http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar for // details on configuration $_prefs['ckeditor_buttons'] = array( // 'value' => "[['Bold','Italic','Underline'],['Font','FontSize'],['TextColor','BGColor'],['Cut','Copy','Paste'],['Undo','Redo'],['Link','Unlink'],['Image','Table','Smiley','SpecialChar']]", // Very basic set of buttons: // 'value' => "['Bold','Italic','-','NumberedList','BulletedList','-','Link','Unlink']", // More advanced set of buttons (default for IMP < 6.2): 'value' => "[['Source','Maximize','-','Templates'],['Cut','Copy','Paste'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],'/',['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],['Link','Unlink'],['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],'/',['Styles','Format','Font','FontSize'],['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],['TextColor','BGColor']]", ); $_prefs['signature_expanded'] = array( 'value' => 0, 'type' => 'implicit', );
Then, save the file. Note that this file is overwritten by default when cPanel updates, so you'd have to develop a custom bash script that automatically makes this change, and then configure it to run after each cPanel update. Information on how to make custom scripts run after cPanel updates (upcp) is available at: Thank you.0 -
Hi Thank you to provide me right direction. The first part is easy to me while second one (bash script) needs some reading & understanding before. However I will implement and write if I need more information. Thanks 0
Please sign in to leave a comment.
Comments
4 comments