[opencms-dev] Add a button to TinyMCE

Nakayama Junichi nakayama at sra.co.jp
Wed Sep 12 12:05:07 CEST 2012


Dear all

To add a button to the Tinymce editor, I went to CmsHtmlWidgetOption the 
following modifications.

public static final String[] OPTIONAL_BUTTONS = {
..............
//OPTION_BACKCOLOR,
//OPTION_FONTSIZESELECT,
//OPTION_FORECOLOR,
.................

Three buttons are added to the editor in this way fix the java occurs in 
this way, build is required.
I want to teach you how to write if there is a way to capture the 
information from an external file,
such as the Add button if opencms-vfs.xml .

Kind Regards, 





More information about the opencms-dev mailing list