Changeset 7947
- Timestamp:
- 06/28/10 04:11:17 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
TinyMCEPlugin/data/System/TinyMCEPlugin.txt (modified) (8 diffs)
-
WysiwygPlugin/data/System/WysiwygPlugin.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt
r7936 r7947 38 38 39 39 ---++ Preferences 40 The default configuration of TinyMCEPlugin should prove sufficient for most users. The !TinyMCE editor itself is customised through a Javascript object holding a substantial number of initialisation parameters. In previous versions of TinyMCEPlugin, a text string making up the Javascript object was held in an ordinary Foswiki [[PreferenceSettings][preference variable]] =TINYMCEPLUGIN_INIT= which is now deprecated in favour of =TINYMCEPLUGIN_INIT_TOPIC= described below.40 The default configuration of TinyMCEPlugin should prove sufficient for most users. The !TinyMCE editor itself is customised through a Javascript object holding a substantial number of initialisation parameters. In previous versions of TinyMCEPlugin, a text string making up the Javascript object was held in an ordinary Foswiki [[PreferenceSettings][preference variable]] =TINYMCEPLUGIN_INIT= which should be removed and replaced with =TINYMCEPLUGIN_INIT_TOPIC= (described below) in most circumstances. 41 41 42 42 ---+++ TINYMCEPLUGIN_INIT_TOPIC … … 72 72 "defined 'TINYMCEPLUGIN_MCEPLUGINS'" 73 73 then="%TINYMCEPLUGIN_MCEPLUGINS%" 74 else=" table,searchreplace,autosave,paste,legacyoutput,inlinepopups,fullscreen,foswiki,foswikibuttons,foswikiimage"74 else="%STARTSECTION{"plugins"}%table, searchreplace, autosave, paste, legacyoutput, inlinepopups, fullscreen, foswiki, foswikibuttons, foswikiimage%ENDSECTION{"plugins"}%" 75 75 }%%IF{ 76 76 "defined 'TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS'" … … 114 114 "defined 'TINYMCEPLUGIN_BUTTONS1'" 115 115 then="%TINYMCEPLUGIN_BUTTONS1%" 116 else=" foswikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,blockquote,separator,link,unlink,anchor,separator,undo,redo,separator,search,replace"116 else="%STARTSECTION{"buttons1"}%foswikiformat, separator, bold, italic, tt, colour, removeformat, separator, bullist, numlist, outdent, indent, blockquote, separator, link, unlink, anchor, separator, undo, redo, separator, search, replace%ENDSECTION{"buttons1"}%" 117 117 }%%IF{ 118 118 "defined 'TINYMCEPLUGIN_ADDITIONAL_BUTTONS1'" … … 122 122 "defined 'TINYMCEPLUGIN_BUTTONS2'" 123 123 then="%TINYMCEPLUGIN_BUTTONS2%" 124 else=" tablecontrols,separator,attach,image,charmap,hr,separator,fullscreen,code,hide"124 else="%STARTSECTION{"buttons2"}%tablecontrols, separator, attach, image, charmap, hr, separator, fullscreen, code, hide%ENDSECTION{"buttons2"}%" 125 125 }%%IF{ 126 126 "defined 'TINYMCEPLUGIN_ADDITIONAL_BUTTONS2'" … … 155 155 ---+++ Settings 156 156 | *Variable* | *Default* | *Description* | 157 | =TINYMCEPLUGIN_INIT= | - | Deprecated. If set, =TINYMCEPLUGIN_INIT_TOPIC= is ignored |157 | =TINYMCEPLUGIN_INIT= | - | A string holding the !TinyMCE initialisation object. If set, =TINYMCEPLUGIN_INIT_TOPIC= is ignored | 158 158 | =TINYMCEPLUGIN_INIT_TOPIC= | [[%SYSTEMWEB%.TinyMCEPlugin]] | The fully qualified Web.Topic containing a [[VarSTARTSECTION][section]] named =INIT= which holds the !TinyMCE initialisation parameters | 159 | =TINYMCEPLUGIN_MCEPLUGINS= | See ="plugins"= parameter in [[%TOPIC%#INIT][INIT]] above| Comma separated list of !TinyMCE plugins to initialise |159 | =TINYMCEPLUGIN_MCEPLUGINS= | %INCLUDE{"%TOPIC%" section="plugins"}% | Comma separated list of !TinyMCE plugins to initialise | 160 160 | =TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS= || Comma separated list of additional !TinyMCE plugins to initialise. | 161 | =TINYMCEPLUGIN_BUTTONS1, TINYMCEPLUGIN_BUTTONS2, TINYMCEPLUGIN_BUTTONS3= | See ="theme_advanced_buttons1", "theme_advanced_buttons2", "theme_advanced_buttons3"= parameters in [[%TOPIC%#INIT][INIT]] above | Comma separated list of toolbar buttons (in order) for the first, second and third rows (of buttons) | 161 | =TINYMCEPLUGIN_BUTTONS1= | %INCLUDE{"%TOPIC%" section="buttons1"}% | Comma separated list of toolbar buttons (in order) for the first, second and third rows (of buttons) | 162 | =TINYMCEPLUGIN_BUTTONS2= | %INCLUDE{"%TOPIC%" section="buttons2"}% |^| 163 | =TINYMCEPLUGIN_BUTTONS3= | |^| 162 164 | =TINYMCEPLUGIN_ADDITIONAL_BUTTONS1,= <br/> =TINYMCEPLUGIN_ADDITIONAL_BUTTONS2,= <br/> =TINYMCEPLUGIN_ADDITIONAL_BUTTONS3= || Comma separated list of toolbar buttons (in order) to be appended to the end of a button row | 163 165 | =TINYMCEPLUGIN_INIT_browser= | See [[%TOPIC%#Browser_Specific_Settings][Browser Specific Settings]] below | Add extra parameters to =TINYMCEPLUGIN_INIT= string for a specific =_browser= | … … 172 174 </verbatim> 173 175 The defaults are: 174 <verbatim >176 <verbatim class="perl"> 175 177 MSIE => '', 176 178 OPERA => '', … … 219 221 ---- 220 222 221 ---++ Known Issues 222 223 * Applying formats such as Headings, Verbatim, Normal, etc: 224 * In Microsoft Internet Explorer 6, not working at all. 225 * In Safari and Google Chrome, only works once (must move the cursor out of the formatted region and back again for each subsequent format change). 226 * "Normal" format depends on WysiwygPlugin flattening <div> tags 223 ---++ Upgrading from TinyMCEPlugin versions prior to 05 Mar 2010 release 224 The =TINYMCEPLUGIN_INIT= string needs to be built differently, due to the API change affecting the way custom formats are applied in !TinyMCE 3.3.x since 3.2.x 225 226 Please re-build any customised =TINYMCEPLUGIN_INIT= string based on the content of this documentation, and review whether your customisations are still necessary 227 228 ---++ Known Issues of TinyMCEPlugin 229 * Foswikitask:Item8475 - Foswiki introduces errant spaces into table cells 230 * Foswikitask:Item8582 - X11 environments: TinyMCEPlugin editor copies current topic onto the "Primary Selection" 231 * Foswikitask:Item8712 - Outdenting list items in Firefox soemtimes does not work correctly 232 * Description: The list symbol (number, bullet, etc) sometimes disappears from the item after being outdented. When this happens, it is also not possible to outdent the item another level. 233 * Work-around: Position the cursor to the beginning of the line (where the symbol should appear) and press the enter key. The symbol should be restored and another outdent will be possible. 234 * Foswikitask:Item8981 - Copy & paste of list items into a list breaks up the list 235 * Description: Consult the task linked above. After the operation described, the list is broken into three. 236 * Work-around: Users may elect to persist with this behaviour, or alternatively, override =TINYMCEPLUGIN_MCEPLUGINS= to omit the =paste= plugin: however, this solution may introduce its own problems. 237 * Foswikitask:Item9198 - Table at top of document: unable to position cursor above 238 * Work-around: Use 'Save and continue' or switch to WikiText and back to WYSIWYG again to allow WysiwygPlugin to add an empty =<p/>= above the table 239 240 ---++ Known Issues of WysiwygPlugin (partial list) 241 For the full list, consult [[WysiwygPlugin#Known_issues][WysiwygPlugin documentation]] 242 %INCLUDE{"WysiwygPlugin" section="tinymceintegration"}% 227 243 228 244 Check regularly at Foswiki:Extensions.TinyMCEPlugin for updates. … … 243 259 Foswikitask:Item1482: Improve attach dialogue usability: auto-refresh attachment list after switching from upload tab; auto-select upload tab if there are zero existing attachments<br/>\ 244 260 Foswikitask:Item1378: Fix dialogue window sizes are too small for link, attachments and colour dialogues<br/>\ 245 Foswikitask:Item 1392: (IE only) Cursor jumps to beginning of document unintendedly (fixed as a result of upgrade to !TinyMCE 3.3)<br/>\246 Foswikitask:Item 9210: Deprecate =TINYMCEPLUGIN_INIT= in favour of =TINYMCEPLUGIN_INIT_TOPIC= sections247 Foswikitask:Item9204: !TinyMCE strips out 'type' arguments when pasting Foswiki macros from MS Word |261 Foswikitask:Item9210: Replace =TINYMCEPLUGIN_INIT= in favour of =TINYMCEPLUGIN_INIT_TOPIC= sections<br/>\ 262 Foswikitask:Item1392: Fixed in !TinyMCE 3.3: (IE only) Cursor jumps to beginning of document unintendedly<br/>\ 263 Foswikitask:Item9204: Fixed in !TinyMCE 3.3: !TinyMCE strips out 'type' arguments when pasting Foswiki macros from MS Word | 248 264 | 20 Mar 2010 | Foswikitask:Item8930: Change Foswiki integration to use more JQueryPlugin features. Fixes bug where IE6 users with latest NatSkin get: "Unable to install !TinyMCE; <META..." | 249 265 | 05 Mar 2010 | Foswikitask:Item8476: Upgrade to !TinyMCE 3.3, Foswiki now uses jQuery version | -
trunk/WysiwygPlugin/data/System/WysiwygPlugin.txt
r7929 r7947 160 160 161 161 If %SYSTEMWEB%.TablePlugin is *not* enabled, then TML table cells containing only =^= are not converted to rowspans, and HTML tables containing rowspans are not converted to TML. 162 163 ---+++ TinyMCEPlugin integration 164 %STARTSECTION{"tinymceintegration"}% 165 * Foswikitask:Item2174 - WysiwygPlugin removes line breaks 166 * Work-around: Use the =* Set NOWYSIWYG = 1= setting to disable WYSIWYG on line-sensitive topics 167 * Foswikitask:Item1391 - =<div>= (and other) tags disappear 168 * Description: WysiwygPlugin is aggressive in cleaning up the output of TinyMCEPlugin, and sometimes removes advanced XHTML markup 169 * Work-around: Consult WysiwygPlugin's documentation for =WYSIWYGPLUGIN_STICKYBITS= if more tags/attributes should be preserved, alternatively use =* Set NOWYSIWYG = 1= to disable WYSIWYG on sensitive topics 170 * Foswikitask:Item1396 - Anchors are not handled by WysiwygPlugin 171 * Foswikitask:Item5955 - WysiwygPlugin fails to roundtrip tables with align="center", border attributes, etc. 172 * Description: Sometimes tables will fail to be converted to TML syntax (will stay as HTML) because there are attributes on the table (such as alignment or border decorations) that WysiwygPlugin does not know how to preserve. If such attributes are necessary, please use [[VarTABLE]] instead. 173 * Work-around: 174 * Click inside the offending table 175 * Click the table toolbar button (usually used to create a new table) 176 * With the exception of =Cols= and =Rows=, delete/reset all content from the fields on the 'General' and 'Advanced' tabs. 177 * Write a [[VarTABLE]] macro above the offending table that adds the desired attributes safely 178 %ENDSECTION{"tinymceintegration"}% 162 179 163 180 ---++ Plugin Info
Note: See TracChangeset
for help on using the changeset viewer.
