Changeset 5333 for trunk/TinyMCEPlugin


Ignore:
Timestamp:
10/21/09 03:37:01 (3 years ago)
Author:
PaulHarvey
Message:

Item1558: TinyMCE project now supports Opera, so remove it from _BAD_BROWSERS

Location:
trunk/TinyMCEPlugin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/TinyMCEPlugin

  • trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt

    r5327 r5333  
    1010 
    1111%TOC% 
    12 This is an integration of the <a href="http://tinymce.moxiecode.com?id=powered_by_tinymce_mini"><img src="http://tinymce.sourceforge.net/buttons/tinymce_button.png" border="0" width="80" height="15" alt="TinyMCE" /></a> WYSIWYG editor. This is great little editor, fast and highly functional, and supporting a wide range of browsers, including Firefox, IE and Safari. At the time of writing it doesn't work with Opera or Konqueror. 
     12This is an integration of the <a href="http://tinymce.moxiecode.com?id=powered_by_tinymce_mini"><img src="http://tinymce.sourceforge.net/buttons/tinymce_button.png" border="0" width="80" height="15" alt="TinyMCE" /></a> WYSIWYG editor. This is great little editor, fast and highly functional, and supporting a wide range of browsers, including Firefox, IE and Safari. At the time of writing it doesn't work with Konqueror. 
    1313 
    1414The integration uses the Foswiki:Extensions.WysiwygPlugin to translate text to and from a format that !TinyMCE can edit. 
     
    113113 
    114114Some browsers don't support Tiny MCE. You can prevent the editor from 
    115 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 
     115being 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)=. For a full list of supported browsers see http://wiki.moxiecode.com/index.php/TinyMCE:Compatibility 
    116116 
    117117%INCLUDE{"%SYSTEMWEB%.WysiwygPluginSettings"}% 
     
    136136|  Release: | %$RELEASE% | 
    137137|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
     138|  21 Oct 2009 | Foswikitask:Item1558: Tiny MCE project now supports Opera, so remove it from _BAD_BROWSERS | 
    138139|  18 Oct 2009 | Foswikitask:Item2270: Fix wordcount plugin to show correct count when user first enters edit mode | 
    139 |  17 Oct 2009 | Foswikitask:Item2245: Upgrade to TinyMCE 3.2.7 | 
     140|  17 Oct 2009 | Foswikitask:Item2245: Upgrade to Tiny MCE 3.2.7 | 
    140141|  20 Sep 2009 | Foswikitask:Item2121: Remove 2 MB of developer files that are not used | 
    141142|  19 Sep 2009 | Foswikitask:Item2037: Fix fullscreen-to-WikiText transition | 
  • trunk/TinyMCEPlugin/lib/Foswiki/Plugins/TinyMCEPlugin.pm

    r5318 r5333  
    3838extended_valid_elements : "li[type]", 
    3939forced_root_block : false, 
     40moz_lists_hack: true, 
    4041setupcontent_callback : FoswikiTiny.setUpContent, 
    4142urlconverter_callback : "FoswikiTiny.convertLink", 
     
    139140    # Check the client browser to see if it is blacklisted 
    140141    my $ua = Foswiki::Func::getPreferencesValue('TINYMCEPLUGIN_BAD_BROWSERS') 
    141       || '(?i-xsm:Konqueror|Opera)'; 
     142      || '(?i-xsm:Konqueror)'; 
    142143    return 'Unsupported browser: ' . $query->user_agent() 
    143144      if $ua && $query->user_agent() && $query->user_agent() =~ /$ua/; 
Note: See TracChangeset for help on using the changeset viewer.