Changeset 6136
- Timestamp:
- 01/25/10 01:14:07 (2 years ago)
- Location:
- trunk/TinyMCEPlugin
- Files:
-
- 2 edited
-
data/System/TinyMCEPlugin.txt (modified) (4 diffs)
-
lib/Foswiki/Plugins/TinyMCEPlugin.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt
r6129 r6136 85 85 paste_remove_styles: true, 86 86 paste_strip_class_attributes: "all", 87 theme_advanced_buttons1 : " foswikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,blockquote,separator,link,unlink,anchor,separator,undo,redo,separator,search,replace",88 theme_advanced_buttons2 : "tablecontrols,separator,attach,image,charmap,hr,separator,code,hide,fullscreen",89 theme_advanced_buttons3 : "",87 theme_advanced_buttons1 : "%IF{"defined TINYMCEPLUGIN_BUTTONS1" then="%TINYMCEPLUGIN_BUTTONS1%" else="foswikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,blockquote,separator,link,unlink,anchor,separator,undo,redo,separator,search,replace"}%", 88 theme_advanced_buttons2 : "%IF{"defined TINYMCEPLUGIN_BUTTONS2" then="%TINYMCEPLUGIN_BUTTONS2%" else="tablecontrols,separator,attach,image,charmap,hr,separator,code,hide,fullscreen"}%", 89 theme_advanced_buttons3 : "%IF{"defined TINYMCEPLUGIN_BUTTONS3" then="%TINYMCEPLUGIN_BUTTONS3%" else=""}%", 90 90 theme_advanced_toolbar_location: "top", 91 91 theme_advanced_resize_horizontal : false, … … 101 101 | =TINYMCEPLUGIN_INIT= | As [[%TOPIC%#Preferences][above]] | Holds the initialization parameters used to start !TinyMCE | 102 102 | =TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS= | '' | additional !TinyMCE plugins to initialise | 103 | =TINYMCEPLUGIN_BUTTONS2= | As [[%TOPIC%#Preferences][above]] | configure the order and existance of icons in the toolbar | 103 104 | =TINYMCEPLUGIN_INIT_browser= | See [[%TOPIC%#Browser_Specific_Settings][Browser Specific Settings]] below | Add extra parameters to =TINYMCEPLUGIN_INIT= string for a specific =_browser= | 104 105 | =TINYMCEPLUGIN_DISABLE= | 0 | If set to 1, disables TinyMCEPlugin. _Please use_ =NOWYSIWYG= _instead_ | … … 122 123 Documentation for standard plugins shipped with !TinyMCE can be found at [[http://wiki.moxiecode.com/index.php/TinyMCE:Plugins]]. 123 124 124 To enable these extra plugins, Set the =TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS= variable in your %USERSWEB%.SitePreferences. eg. 125 To enable these extra plugins, Set the =TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS= variable in your %USERSWEB%.SitePreferences. 126 If the plugin also adds a toolbar button, you will need to add it into the appropriate place in the =TINYMCEPLUGIN_BUTTONS*= variables. 127 128 add the following to %USERSWEB%.SitePreferences 125 129 126 130 <verbatim> 127 * Set TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS = emotions,sitespecificplugin 131 ---++ TinyMCE cunstomisations 132 * Set TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS = emotions 133 * Set TINYMCEPLUGIN_BUTTONS2 = emotions,tablecontrols,separator,attach,image,charmap,hr,separator,code,hide,fullscreen 128 134 </verbatim> 129 135 … … 173 179 | Release: | %$RELEASE% | 174 180 | Change History: | <!-- versions below in reverse order --> | 175 | 24 Jan 2010 | Foswikitask:Item8416: add TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS to allow wiki, web and topic specific plugins to be added [[Foswiki:Main.SvenDowideit][SD]] |181 | 24 Jan 2010 | Foswikitask:Item8416: add TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS and TINYMCEPLUGIN_BUTTONS(123) to allow wiki, web and topic specific plugins to be added [[Foswiki:Main.SvenDowideit][SD]] | 176 182 | 29 Dec 2009 | Foswikitask:Item2447: Fix unable to apply "Normal" format in some browsers (notes added to System topic)<br/> Foswikitask:Item1462: Block attachments to unsaved AUTOINC topics | 177 183 | 25 Nov 2009 | Foswikitask:Item2412: Inserting images - fixed a problem where it wasn't easy (impossible unless > 1 attachments) to select the first image in the attachment list; improved layout of dialog window where preview obscures insert/cancel buttons. | -
trunk/TinyMCEPlugin/lib/Foswiki/Plugins/TinyMCEPlugin.pm
r6127 r6136 67 67 paste_remove_styles: true, 68 68 paste_strip_class_attributes: "all", 69 theme_advanced_buttons1 : " foswikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,blockquote,separator,link,unlink,anchor,separator,undo,redo,separator,search,replace",70 theme_advanced_buttons2 : "tablecontrols,separator,attach,image,charmap,hr,separator,code,hide,fullscreen",71 theme_advanced_buttons3 : "",69 theme_advanced_buttons1 : "%IF{"defined TINYMCEPLUGIN_BUTTONS1" then="%TINYMCEPLUGIN_BUTTONS1%" else="foswikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,blockquote,separator,link,unlink,anchor,separator,undo,redo,separator,search,replace"}%", 70 theme_advanced_buttons2 : "%IF{"defined TINYMCEPLUGIN_BUTTONS2" then="%TINYMCEPLUGIN_BUTTONS2%" else="tablecontrols,separator,attach,image,charmap,hr,separator,code,hide,fullscreen"}%", 71 theme_advanced_buttons3 : "%IF{"defined TINYMCEPLUGIN_BUTTONS3" then="%TINYMCEPLUGIN_BUTTONS3%" else=""}%", 72 72 theme_advanced_toolbar_location: "top", 73 73 theme_advanced_resize_horizontal : false,
Note: See TracChangeset
for help on using the changeset viewer.
