You are viewing the PKP Support Forum | PKP Home Wiki

TinyMCE Configuration

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

TinyMCE Configuration

Postby ramon » Fri Jul 20, 2007 8:30 am

Hello all,

I'm playing with the TinyMCE plugin, and after a bit of struggle, instead of going to the Wiki examples, I have now successfully changed the configuration of the toolbars.

The key is to add the plugins : ... line, which enables the plugins desired.

The styles dropdown menu does not work yet...

Hope this helps other users.

Code: Select all
editing ojs2/plugins/generic/tinymce/TinyMCEPlugin.inc.php
Line 62
mode : "textareas",
   theme : "advanced",
   plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu",
   theme_advanced_buttons1_add_before : "save,separator",
   theme_advanced_buttons1_add : "fontselect,fontsizeselect",
   theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
   theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
   theme_advanced_buttons3_add_before : "tablecontrols,separator",
   theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
   theme_advanced_toolbar_location : "top",
   theme_advanced_toolbar_align : "left",
   theme_advanced_path_location : "bottom",
   plugin_insertdate_dateFormat : "%Y-%m-%d",
   plugin_insertdate_timeFormat : "%H:%M:%S",
   extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
   external_link_list_url : "example_data/example_link_list.js",
   external_image_list_url : "example_data/example_image_list.js",
   flash_external_list_url : "example_data/example_flash_list.js"
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests