Back

TinyMCE for 2.5.7 and 3.X

Description

This is the plugin for a 2.5.7 or 3.x instance to extended the WYSIWYG.

Code

## To customize the toolbar just change the plugin.properties file

##specify the dateFormat the wysiwyg should use
##if is not set by default use this dateFormat: "%Y-%m-%d" 
WYSIWYG_DATEFORMAT=%Y-%m-%d

##specify the timeFormat the wysiwyg should use
##if is not set by default use this timeFormat: "%H:%M:%S" 
WYSIWYG__TIMEFORMAT=%H:%M:%S

##specify the width the wysiwyg should use
WYSIWYG_WIDTH=900

##number of theme button this line indicates how many toolbars have to be added to the wysiwyg
WYSIWYG_NUMBER_THEME_BUTTONS=4

##theme buttons configurations

WYSIWYG_THEME_BUTTON1=newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,fontselect,fontsizeselect
WYSIWYG_THEME_BUTTON2=cut,copy,paste,pastetext,|,searchreplace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,help,code,|,insertdatetime,preview,|,forecolor,backcolor
WYSIWYG_THEME_BUTTON3=table,|,hr,removeformat,|,charmap,emoticons,media,advhlist,|,print,|,ltr,rtl,|,fullscreen
WYSIWYG_THEME_BUTTON4=spellchecker,|,visualchars,nonbreaking,template,pagebreak,dotimageclipboard,validation