Changeset 3369 for trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt
- Timestamp:
- 04/03/09 17:28:17 (3 years ago)
- File:
-
- 1 edited
-
trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt
r3104 r3369 35 35 * *Click* on edit of any topic. 36 36 37 ---++ Settings 38 You can override this setting by defining TINYMCEPLUGIN_DEBUG to enable some simple debug features. 39 * Set DEBUG = 0 37 ---++ Preferences 38 If 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. 40 39 41 Th is 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 * SetINIT = mode:"textareas",40 The [[%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 41 guidance 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", 45 44 editor_selector : "foswikiWysiwygEdit", 46 45 save_on_tinymce_forms: true, … … 50 49 relative_urls : false, 51 50 remove_script_host : false, 51 dialog_type: "modal", 52 52 setupcontent_callback : FoswikiTiny.setUpContent, 53 53 urlconverter_callback : "FoswikiTiny.convertLink", 54 hide_instance_callback : FoswikiTiny.switchToRaw,55 show_instance_callback : FoswikiTiny.switchToWYSIWYG,56 54 foswikipuburl_callback : "FoswikiTiny.convertPubURL", 57 55 save_callback : "FoswikiTiny.saveCallback", … … 89 87 theme_advanced_path: false, 90 88 theme_advanced_statusbar_location : "bottom", 89 keep_styles : false, 90 gecko_spellcheck : true, 91 91 content_css : "%PUBURLPATH%/%SYSTEMWEB%/TinyMCEPlugin/wysiwyg%IF{"$TINYMCEPLUGIN_DEBUG" then="_src"}%.css,%PUBURLPATH%/%SYSTEMWEB%/SkinTemplates/base.css,%FOSWIKI_STYLE_URL%,%FOSWIKI_COLORS_URL%" 92 92 </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 = 93 You 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. 99 97 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. 98 You 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> 101 101 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)=. 102 Some browsers don't support Tiny MCE. You can prevent the editor from 103 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)=. For a full list of supported browsers see http://wiki.moxiecode.com/index.php/TinyMCE:Compatibility 105 104 106 105 %INCLUDE{"%SYSTEMWEB%.WysiwygPluginSettings"}% 106 107 You 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> 107 110 108 111 ---++ Frequently Asked Questions … … 116 119 | Author: | [[http://c-dot.co.uk][Crawford Currie]] | 117 120 | Copyright: | © 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 |119 121 | 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]]. | 120 123 | Plugin Version: | %$VERSION% | 121 124 | Change History: | <!-- versions below in reverse order --> | 125 | 3 Apr 2009 | Foswikitask:Item1383: Optimised the preferences Foswikitask:Item8094: fixed the pickaxe | 122 126 | 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 | 126 130 | 03 Aug 2008 | TWiki 4.2.1 release version | 127 131 | 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.
