Changeset 6127


Ignore:
Timestamp:
01/24/10 02:14:46 (2 years ago)
Author:
SvenDowideit
Message:

Item8416: add TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS to allow wiki, web and topic specific plugins to be added

Location:
trunk/TinyMCEPlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt

    r5873 r6127  
    6161save_callback : "FoswikiTiny.saveCallback", 
    6262%IF{"$TINYMCEPLUGIN_DEBUG" then="debug:true,"}% 
    63 plugins : "table,searchreplace,autosave,paste,safari,inlinepopups,fullscreen,foswikibuttons,foswikiimage%IF{ "context TinyMCEUsabilityUpgradePluginEnabled" then=",foswikilink" else=""}%", 
     63plugins : "table,searchreplace,autosave,paste,safari,inlinepopups,fullscreen,foswikibuttons,foswikiimage,%TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS%", 
    6464foswiki_secret_id : "%WYSIWYG_SECRET_ID%", 
    6565foswiki_vars : { PUBURLPATH : "%PUBURLPATH%", PUBURL : "%PUBURL%", WEB : "%WEB%", TOPIC : "%TOPIC%", ATTACHURL : "%ATTACHURL%", ATTACHURLPATH : "%ATTACHURLPATH%", VIEWSCRIPTURL : "%SCRIPTURL{view}%", SCRIPTSUFFIX: "%SCRIPTSUFFIX%", SCRIPTURL : "%SCRIPTURL%", SYSTEMWEB: "%SYSTEMWEB%" }, 
     
    100100| *Variable* | *Default* | *Description* | 
    101101| =TINYMCEPLUGIN_INIT= | As [[%TOPIC%#Preferences][above]] | Holds the initialization parameters used to start !TinyMCE | 
     102| =TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS= | additional !TinyMCE plugins to initialise | 
    102103| =TINYMCEPLUGIN_INIT_browser= | See [[%TOPIC%#Browser_Specific_Settings][Browser Specific Settings]] below | Add extra parameters to =TINYMCEPLUGIN_INIT= string for a specific =_browser= | 
    103104| =TINYMCEPLUGIN_DISABLE= | 0 | If set to 1, disables TinyMCEPlugin. _Please use_ =NOWYSIWYG= _instead_ | 
     
    120121---+++ Additional !TinyMCE Plugins  
    121122Documentation for standard plugins shipped with !TinyMCE can be found at [[http://wiki.moxiecode.com/index.php/TinyMCE:Plugins]]. 
     123 
     124To enable these extra plugins, Set the =TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS= variable in your %USERSWEB%.SitePreferences. eg. 
     125 
     126<verbatim> 
     127   * Set TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS = emotions 
    122128 
    123129Some notable plugins: 
     
    166172|  Release: | %$RELEASE% | 
    167173|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
     174|  24 Jan 2010 | Foswikitask:Item8416: add TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS to allow wiki, web and topic specific plugins to be added [[Foswiki:Main.SvenDowideit][SD]] | 
    168175|  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 | 
    169176|  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. | 
     
    212219   * [[http://ilog.fr][ILOG]] 
    213220   * [[http://www.carrier.com][Carrier Corporation]] 
    214    * [[http://foswiki.net][TWIKI.NET]] 
     221   * [[http://twiki.net][TWIKI.NET]] 
    215222 
    216223<!-- Do _not_ attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the Dev topic instead. --> 
  • trunk/TinyMCEPlugin/lib/Foswiki/Plugins/TinyMCEPlugin.pm

    r5869 r6127  
    4343save_callback : "FoswikiTiny.saveCallback", 
    4444%IF{"$TINYMCEPLUGIN_DEBUG" then="debug:true,"}% 
    45 plugins : "table,searchreplace,autosave,paste,safari,inlinepopups,fullscreen,foswikibuttons,foswikiimage%IF{ "context TinyMCEUsabilityUpgradePluginEnabled" then=",foswikilink" else=""}%", 
     45plugins : "table,searchreplace,autosave,paste,safari,inlinepopups,fullscreen,foswikibuttons,foswikiimage,%TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS%", 
    4646foswiki_secret_id : "%WYSIWYG_SECRET_ID%", 
    4747foswiki_vars : { PUBURLPATH : "%PUBURLPATH%", PUBURL : "%PUBURL%", WEB : "%WEB%", TOPIC : "%TOPIC%", ATTACHURL : "%ATTACHURL%", ATTACHURLPATH : "%ATTACHURLPATH%", VIEWSCRIPTURL : "%SCRIPTURL{view}%", SCRIPTSUFFIX: "%SCRIPTSUFFIX%", SCRIPTURL : "%SCRIPTURL%", SYSTEMWEB: "%SYSTEMWEB%" }, 
Note: See TracChangeset for help on using the changeset viewer.