Print  
Gray star Gray star Gray star Gray star Gray star --Not rated--
200 Visits 1 Comment
Created
Daniel Damiani Daniel Damiani
Kablink Component
  • Teaming

How can i customize TinyMCE? I would like to hide some icons.

Workflow
Process State Action
Discussion workflow Active
This entry is currently active
Attachments(0)
Entry History
Tags
 
Replies
Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

All instances of the TinyMCE editor go through a single jsp (ssf/WEB-INF/jsp/tag_jsps/htmlarea/htmlarea.jsp). So, you can add or delete the options from there.

 

You will see the TinyMCE options:

 

theme_advanced_buttons3_add : "pastetext,pasteword,selectall",
theme_advanced_toolbar_location: "top", theme_advanced_toolbar_align: "top",
theme_advanced_toolbar_align: "left", theme_advanced_statusbar_location: "bottom",
theme_advanced_resizing: true,
convert_fonts_to_spans: true,
theme_advanced_styles: "8px=ss_size_8px;9px=ss_size_9px;10px=ss_size_10px;11px=ss_size_11px;12px=ss_size_12px;13px=ss_size_13px;14px=ss_size_14px;15px=ss_size_15px;16px=ss_size_16px;18px=ss_size_18px;20px=ss_size_20px;24px=ss_size_24px;28px=ss_size_28px;32px=ss_size_32px",
theme_advanced_buttons1_add: "forecolor,backcolor",
theme_advanced_buttons2_add: "pastetext,pasteword<%--

 

You can edit these as you want.

Skip Footer Toolbar