Changeset 7947


Ignore:
Timestamp:
06/28/10 04:11:17 (2 years ago)
Author:
PaulHarvey
Message:

Item9210: Replacei, don't deprecate; known issues update

Location:
trunk
Files:
2 edited

Legend:

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

    r7936 r7947  
    3838 
    3939---++ 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. 
     40The 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. 
    4141 
    4242---+++ TINYMCEPLUGIN_INIT_TOPIC 
     
    7272    "defined 'TINYMCEPLUGIN_MCEPLUGINS'" 
    7373    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"}%" 
    7575}%%IF{ 
    7676    "defined 'TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS'" 
     
    114114    "defined 'TINYMCEPLUGIN_BUTTONS1'" 
    115115    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"}%" 
    117117}%%IF{ 
    118118    "defined 'TINYMCEPLUGIN_ADDITIONAL_BUTTONS1'" 
     
    122122    "defined 'TINYMCEPLUGIN_BUTTONS2'" 
    123123    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"}%" 
    125125}%%IF{ 
    126126    "defined 'TINYMCEPLUGIN_ADDITIONAL_BUTTONS2'" 
     
    155155---+++ Settings 
    156156| *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 | 
    158158| =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 | 
    160160| =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= | |^| 
    162164| =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 | 
    163165| =TINYMCEPLUGIN_INIT_browser= | See [[%TOPIC%#Browser_Specific_Settings][Browser Specific Settings]] below | Add extra parameters to =TINYMCEPLUGIN_INIT= string for a specific =_browser= | 
     
    172174</verbatim> 
    173175The defaults are: 
    174 <verbatim> 
     176<verbatim class="perl"> 
    175177    MSIE => '', 
    176178    OPERA => '', 
     
    219221---- 
    220222 
    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 &lt;div&gt; tags 
     223---++ Upgrading from TinyMCEPlugin versions prior to 05 Mar 2010 release 
     224The =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 
     226Please 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 =&lt;p/&gt;= above the table 
     239 
     240---++ Known Issues of WysiwygPlugin (partial list) 
     241For the full list, consult [[WysiwygPlugin#Known_issues][WysiwygPlugin documentation]] 
     242%INCLUDE{"WysiwygPlugin" section="tinymceintegration"}% 
    227243 
    228244Check regularly at Foswiki:Extensions.TinyMCEPlugin for updates. 
     
    243259                 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/>\ 
    244260                 Foswikitask:Item1378: Fix dialogue window sizes are too small for link, attachments and colour dialogues<br/>\ 
    245                  Foswikitask:Item1392: (IE only) Cursor jumps to beginning of document unintendedly (fixed as a result of upgrade to !TinyMCE 3.3)<br/>\ 
    246                  Foswikitask:Item9210: Deprecate =TINYMCEPLUGIN_INIT= in favour of =TINYMCEPLUGIN_INIT_TOPIC= sections 
    247                  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 | 
    248264|  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; &lt;META..." | 
    249265|  05 Mar 2010 | Foswikitask:Item8476: Upgrade to !TinyMCE 3.3, Foswiki now uses jQuery version | 
  • trunk/WysiwygPlugin/data/System/WysiwygPlugin.txt

    r7929 r7947  
    160160 
    161161If %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 - =&lt;div&gt;= (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"}% 
    162179 
    163180---++ Plugin Info 
Note: See TracChangeset for help on using the changeset viewer.