Ignore:
Timestamp:
04/03/09 17:28:17 (3 years ago)
Author:
CrawfordCurrie
Message:

Item1383: Optimised the preferences Item8094: fixed the pickaxe

File:
1 edited

Legend:

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

    r3104 r3369  
    3535   * *Click* on edit of any topic. 
    3636 
    37 ---++ Settings 
    38 You can override this setting by defining TINYMCEPLUGIN_DEBUG to enable some simple debug features. 
    39    * Set DEBUG = 0 
     37---++ Preferences 
     38If you want to change any of the preferences you are recommended to copy the examples below and paste them into your own [[%SYSTEMWEB%.PreferenceSettings][preference settings]]. The settings in this topic are just examples and have no effect. 
    4039 
    41 This setting contains all the options passed to the TinyMCE editor on startup.  
    42 For a full explanation of the available options, and guidance on reconfiguring TinyMCE, see the [[http://wiki.moxiecode.com/index.php/TinyMCE:Configuration][Moxicode TinyMCE Wiki]]. Note the inclusion of the Pattern Skin standard CSS files in the =content_css= setting. 
    43 <verbatim> 
    44    * Set INIT = mode:"textareas", 
     40The [[%SYSTEMWEB%.PreferenceSettings][preference setting]] =TINYMCEPLUGIN_INIT= lets you redefine all the options passed to the Tiny MCE editor on startup. For a full explanation of the available options, and 
     41guidance on reconfiguring Tiny MCE, see the [[http://wiki.moxiecode.com/index.php/TinyMCE:Configuration][Moxicode TinyMCE Wiki]]. The default options are as follows. Note the inclusion of the Pattern Skin standard CSS files in the 
     42=content_css= setting. 
     43<verbatim>   * Set TINYMCEPLUGIN_INIT = mode:"textareas", 
    4544   editor_selector : "foswikiWysiwygEdit", 
    4645   save_on_tinymce_forms: true, 
     
    5049   relative_urls : false, 
    5150   remove_script_host : false, 
     51   dialog_type: "modal", 
    5252   setupcontent_callback : FoswikiTiny.setUpContent, 
    5353   urlconverter_callback : "FoswikiTiny.convertLink", 
    54    hide_instance_callback : FoswikiTiny.switchToRaw, 
    55    show_instance_callback : FoswikiTiny.switchToWYSIWYG, 
    5654   foswikipuburl_callback : "FoswikiTiny.convertPubURL", 
    5755   save_callback : "FoswikiTiny.saveCallback", 
     
    8987   theme_advanced_path: false, 
    9088   theme_advanced_statusbar_location : "bottom", 
     89   keep_styles : false, 
     90   gecko_spellcheck : true, 
    9191   content_css : "%PUBURLPATH%/%SYSTEMWEB%/TinyMCEPlugin/wysiwyg%IF{"$TINYMCEPLUGIN_DEBUG" then="_src"}%.css,%PUBURLPATH%/%SYSTEMWEB%/SkinTemplates/base.css,%FOSWIKI_STYLE_URL%,%FOSWIKI_COLORS_URL%" 
    9292</verbatim> 
    93    * Additional settings for specific browsers. 
    94       * Warning: if you enable =paste_auto_cleanup_on_paste then it automatically implies =past_use_dialog= on all non-MSIE browsers. 
    95       * Set INIT_MSIE = paste_auto_cleanup_on_paste : true 
    96       * Set INIT_OPERA =  
    97       * Set INIT_GECKO =  
    98       * Set INIT_SAFARI =  
     93You can set additional options for specific browsers. You can define extra options for MSIE, OPERA, GECKO and SAFARI. For example, 
     94<verbatim>   * Set TINYMCEPLUGIN_INIT_MSIE = paste_auto_cleanup_on_paste : true 
     95</verbatim> 
     96   * Warning: if you enable =paste_auto_cleanup_on_paste then it automatically implies =paste_use_dialog= on all non-MSIE browsers. 
    9997 
    100 You can override these settings in the same way as any other [[%SYSTEMWEB%.PreferenceSettings][preference settings]], by setting e.g. =TINYMCEPLUGIN_INIT= in the site, web or topic preferences. You are *not* recommended to edit the setting here. 
     98You can *disable* the plugin in any web or topic, or for any specific user, by setting =TINYMCEPLUGIN_DISABLE= to 1. e.g. 
     99<verbatim>   * Set TINYMCEPLUGIN_DISABLE = 1 
     100</verbatim> 
    101101 
    102    * You can *disable* the plugin in any web or topic, or for any specific user, by setting the =TINYMCEPLUGIN_DISABLE= preference to 1. 
    103    * Some browsers don't support !TinyMCE. You can prevent the editor from 
    104      being invoked on these browsers by setting =TINYMCEPLUGIN_BAD_BROWSERS= to a regular expression that matches the user-agent string for any broken browsers. The default is =(?i-xsm:Konqueror|Opera)=.    
     102Some browsers don't support Tiny MCE. You can prevent the editor from 
     103being invoked on these browsers by setting =TINYMCEPLUGIN_BAD_BROWSERS= to a regular expression that matches the user-agent string for any broken browsers. The default is =(?i-xsm:Konqueror|Opera)=. For a full list of supported browsers see http://wiki.moxiecode.com/index.php/TinyMCE:Compatibility 
    105104 
    106105%INCLUDE{"%SYSTEMWEB%.WysiwygPluginSettings"}% 
     106 
     107You can use the [[%SYSTEMWEB%.PreferenceSettings][preference setting]] =TINYMCEPLUGIN_DEBUG= to make the editor load uncompressed Javascript and CSS. This is very helpful when debugging. e.g. 
     108<verbatim>   * Set TINYMCEPLUGIN_DEBUG = 1 
     109</verbatim> 
    107110 
    108111---++ Frequently Asked Questions 
     
    116119|  Author: | [[http://c-dot.co.uk][Crawford Currie]] | 
    117120|  Copyright: | &copy; 2007-2008 Crawford Currie http://c-dot.co.uk | 
    118 |             | This package also includes the complete sources for version 2.1.1.1 of the !TinyMCE editor | 
    119121|  License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] | 
     122|             | This package also includes the complete sources for version 3.2.2 of the !TinyMCE editor which is covered by [[http://tinymce.moxiecode.com/license.php][its own license]]. | 
    120123|  Plugin Version: | %$VERSION% | 
    121124|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
     125|  3 Apr 2009 | Foswikitask:Item1383: Optimised the preferences Foswikitask:Item8094: fixed the pickaxe | 
    122126|  15 Mar 2009 | Foswikitask:Item930: Crawford Currie upgraded to Tiny MCE 3.2.2 and recoded all the standard plugins that had to be recoded | 
    123 |  21 Jan 2009 | Foswikitask:Item833: Eugen Mayer added SYSTEMWEB to foswiki_vars, simplifying the activation of the foswikilink dialog of Extensions.TinyMCEUsabilityUpgradePlugin (if installed) | 
    124 |  06 Dec 2008 | Foswikitask:Item5859: Eugen Mayer removed XHR headers that were banjaxing NTLM | 
    125 |  03 Dec 2008 | Re-released for the Foswiki project | 
     127|  21 Jan 2009 | Foswikitask:Item833: added SYSTEMWEB to foswiki_vars, simplifying the activation of the foswikilink dialog of Extensions.TinyMCEUsabilityUpgradePlugin (if installed) - Eugen Mayer | 
     128|  06 Dec 2008 | Foswikitask:Item5859: removed XHR headers that were banjaxing NTLM - Eugen Mayer | 
     129|  03 Dec 2008 | Crawford Currie re-released for the Foswiki project | 
    126130|  03 Aug 2008 | TWiki 4.2.1 release version | 
    127131|  04 May 2008 | TWikibug:Item5547: Change mechanism by which TMCE recognises textareas to camp on. Use class instead of element name. | 
Note: See TracChangeset for help on using the changeset viewer.