Changeset 3777 for trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt
- Timestamp:
- 04/30/09 09:13:24 (3 years ago)
- File:
-
- 1 edited
-
trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt
r3369 r3777 41 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 42 =content_css= setting. 43 <verbatim> * Set TINYMCEPLUGIN_INIT = mode:"textareas",44 editor_selector : "foswikiWysiwygEdit",45 save_on_tinymce_forms: true,46 cleanup: true,47 theme : "advanced",48 convert_urls : true,49 relative_urls : false,50 remove_script_host: false,51 dialog_type: "modal",52 setupcontent_callback : FoswikiTiny.setUpContent,53 urlconverter_callback : "FoswikiTiny.convertLink",54 foswikipuburl_callback : "FoswikiTiny.convertPubURL",55 save_callback : "FoswikiTiny.saveCallback",56 %IF{"$TINYMCEPLUGIN_DEBUG" then="debug:true,"}% 57 plugins : "table,searchreplace,autosave,paste,foswikibuttons,foswikiimage%IF{ "context TinyMCEUsabilityUpgradePluginEnabled" then=",foswikilink" else=""}%", 58 foswiki_secret_id : "%WYSIWYG_SECRET_ID%",59 foswiki_vars : { PUBURLPATH : "%PUBURLPATH%", PUBURL : "%PUBURL%", WEB : "%WEB%", TOPIC : "%TOPIC%", ATTACHURL : "%ATTACHURL%", ATTACHURLPATH : "%ATTACHURLPATH%", VIEWSCRIPTURL : "%SCRIPTURL{view}%", SCRIPTSUFFIX: "%SCRIPTSUFFIX%", SCRIPTURL : "%SCRIPTURL%", SYSTEMWEB: "%SYSTEMWEB%" },60 theme_advanced_toolbar_align : "left",61 foswikibuttons_formats : [ 62 { name: "Normal", el: "", style: null }, 63 { name: "Heading 1", el: "h1", style: false},64 { name: "Heading 2", el: "h2", style: false },65 { name: "Heading 3", el: "h3", style: false },66 { name: "Heading 4", el: "h4", style: false },67 { name: "Heading 5", el: "h5", style: false },68 { name: "Heading 6", el: "h6", style: false },69 { name: "VERBATIM", el: "pre", style: "TMLverbatim"},70 { name: "LITERAL", el: "span", style: "WYSIWYG_LITERAL" },71 { name: "Protect on save", el: null, style: "WYSIWYG_PROTECTED" },72 { name: "Protect forever", el: null, style: "WYSIWYG_STICKY" } 73 ], 74 paste_create_paragraphs : true,75 paste_create_linebreaks : false,76 paste_convert_middot_lists : true,77 paste_convert_headers_to_strong : false,78 paste_remove_spans: true,79 paste_remove_styles: true,80 paste_strip_class_attributes: "all",81 theme_advanced_buttons1 : "foswikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,separator,link,unlink,anchor,separator,attach,image,charmap,hr,separator,undo,redo,separator,search,replace",82 theme_advanced_buttons2: "tablecontrols,separator,code,hide",83 theme_advanced_buttons3: "",84 theme_advanced_toolbar_location: "top",85 theme_advanced_resize_horizontal : false,86 theme_advanced_resizing : true,87 theme_advanced_path: false,88 theme_advanced_statusbar_location : "bottom",89 keep_styles : false,90 gecko_spellcheck : true,91 content_css : "%PUBURLPATH%/%SYSTEMWEB%/TinyMCEPlugin/wysiwyg%IF{"$TINYMCEPLUGIN_DEBUG" then="_src"}%.css,%PUBURLPATH%/%SYSTEMWEB%/SkinTemplates/base.css,%FOSWIKI_STYLE_URL%,%FOSWIKI_COLORS_URL%"43 <verbatim> 44 mode:"textareas", 45 editor_selector : "foswikiWysiwygEdit", 46 save_on_tinymce_forms: true, 47 cleanup : true, 48 theme : "advanced", 49 convert_urls : true, 50 relative_urls : false, 51 remove_script_host : false, 52 dialog_type: "modal", 53 setupcontent_callback : FoswikiTiny.setUpContent, 54 urlconverter_callback : "FoswikiTiny.convertLink", 55 foswikipuburl_callback : "FoswikiTiny.convertPubURL", 56 save_callback : "FoswikiTiny.saveCallback", 57 %IF{"$TINYMCEPLUGIN_DEBUG" then="debug:true,"}% 58 plugins : "table,searchreplace,autosave,paste,safari,inlinepopups,fullscreen,foswikibuttons,foswikiimage%IF{ "context TinyMCEUsabilityUpgradePluginEnabled" then=",foswikilink" else=""}%", 59 foswiki_secret_id : "%WYSIWYG_SECRET_ID%", 60 foswiki_vars : { PUBURLPATH : "%PUBURLPATH%", PUBURL : "%PUBURL%", WEB : "%WEB%", TOPIC : "%TOPIC%", ATTACHURL : "%ATTACHURL%", ATTACHURLPATH : "%ATTACHURLPATH%", VIEWSCRIPTURL : "%SCRIPTURL{view}%", SCRIPTSUFFIX: "%SCRIPTSUFFIX%", SCRIPTURL : "%SCRIPTURL%", SYSTEMWEB: "%SYSTEMWEB%" }, 61 theme_advanced_toolbar_align : "left", 62 foswikibuttons_formats : [ 63 { name: "Normal", el: "", style: null }, 64 { name: "Heading 1", el: "h1", style: false }, 65 { name: "Heading 2", el: "h2", style: false }, 66 { name: "Heading 3", el: "h3", style: false }, 67 { name: "Heading 4", el: "h4", style: false }, 68 { name: "Heading 5", el: "h5", style: false }, 69 { name: "Heading 6", el: "h6", style: false }, 70 { name: "VERBATIM", el: "pre", style: "TMLverbatim" }, 71 { name: "LITERAL", el: "span", style: "WYSIWYG_LITERAL" }, 72 { name: "Protect on save", el: null, style: "WYSIWYG_PROTECTED" }, 73 { name: "Protect forever", el: null, style: "WYSIWYG_STICKY" } 74 ], 75 paste_create_paragraphs : true, 76 paste_create_linebreaks : false, 77 paste_convert_middot_lists : true, 78 paste_convert_headers_to_strong : false, 79 paste_remove_spans: true, 80 paste_remove_styles: true, 81 paste_strip_class_attributes: "all", 82 theme_advanced_buttons1 : "foswikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,separator,link,unlink,anchor,separator,attach,image,charmap,hr,separator,undo,redo,separator,search,replace", 83 theme_advanced_buttons2: "tablecontrols,separator,code,hide,fullscreen", 84 theme_advanced_buttons3: "", 85 theme_advanced_toolbar_location: "top", 86 theme_advanced_resize_horizontal : false, 87 theme_advanced_resizing : true, 88 theme_advanced_path: false, 89 theme_advanced_statusbar_location : "bottom", 90 keep_styles : false, 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 93 You can set additional options for specific browsers. You can define extra options for MSIE, OPERA, GECKO and SAFARI. For example, 94 94 <verbatim> * Set TINYMCEPLUGIN_INIT_MSIE = paste_auto_cleanup_on_paste : true 95 </verbatim> 96 The defaults are: 97 <verbatim> 98 MSIE => 'paste_auto_cleanup_on_paste : true', 99 OPERA => '', 100 GECKO => 'gecko_spellcheck : true', 101 SAFARI => '', 95 102 </verbatim> 96 103 * Warning: if you enable =paste_auto_cleanup_on_paste then it automatically implies =paste_use_dialog= on all non-MSIE browsers. … … 123 130 | Plugin Version: | %$VERSION% | 124 131 | Change History: | <!-- versions below in reverse order --> | 132 | 10 Apr 2009 | Foswikitask:Item1394: fixed colour handling Foswikitask:Item8108: added safari,inlinepopups,fullscreen plugins, fixed some minor bugs on IE | 125 133 | 3 Apr 2009 | Foswikitask:Item1383: Optimised the preferences Foswikitask:Item8094: fixed the pickaxe | 126 134 | 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 |
Note: See TracChangeset
for help on using the changeset viewer.
