NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Some users (particularly novice ones) may not realize that their web browser doesn't support the WYSIWIG editor and instead think that TWiki is "broken".

The attached patch uses JavaScript to test to see if the user's browser is known to support the WYSYWYG editor -- currently, this includes Firefox 1.5 and later and Microsoft Internet Explorer 5.5 and later (this list can be expanded once WYSYWYG support in Opera, Safari, and other web browsers starts to work properly).

This was originally reported in TWiki:Codev.DisableWYSIWYGforUnsupportedBrowsers, but moved here at the suggestion of TWiki:Main.CrawfordCurrie. The patch has been updated to include more explanatory comments.


  • We don't have separate wyiwyg and raw edit buttons
  • TinyMCE? does a decent job of disabling itself where it doesn't want to work (these days: browsers on mobile devices)
  • We have the TINYMCEPLUGIN_BADBROWSERS var to disable the editor based on UA string

And so seeing as this bug is from early T4.0 times, closing.

-- PaulHarvey - 21 Apr 2010

ItemTemplate edit

Summary Disable the WYSIWYG action button if the user's browser doesn't support the WYSIWYG editor
ReportedBy TWiki:Main.MarkMontague
Codebase
SVN Range Wed, 12 Apr 2006 build 9798
AppliesTo Extension
Component PatternSkin, TinyMCEPlugin
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic attachments
I Attachment Action Size Date Who Comment
DisableWYSIWYGforUnsupportedBrowsers.diffdiff DisableWYSIWYGforUnsupportedBrowsers.diff manage 4.2 K 19 Apr 2006 - 14:36 UnknownUser Patch against TWikiRelease04x00x02? with a recent version of templates/viewtopicactionbuttons.pattern.tmpl from SVN (due to TWiki:Plugins.CompareRevisionsAddOn being installed on my site)
Topic revision: r4 - 21 Apr 2010 - 11:36:39 - PaulHarvey
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads