WYSIWYG Editor nearly works in Opera!
Version 4.2.0-rc2 works much better than beta 2 and 3 with regard to Opera and the wysiwyg editor. However, it still doesn't quite work, as when you go to edit a page after an initial save, all the carriage returns are removed
Therefore, I still have to exclude Opera by adding:
Attempt to stop TinyMCE from launching when using Opera
* Set TINYMCEPLUGIN_BAD_BROWSERS = (?i-xsm:Konqueror|Opera)
to my
TWikiPreferences
Is this likely to get better in rc3 or release? If not, should this setting be made the default?
I have seen there has been lots of discussion regarding making sure that 'normal' users always get the wysiwyg, and only nerds go to the raw edit - maybe you could say that an opera user is more likely to be a nerd?
Having just typed that long sentence, it seems that in Opera the line wrap doesn't seem to work too
--
TWiki:Main/EdMcDonagh
- 11 Dec 2007
Sorry Ed, I have my work cut out supporting IE, FF and Safari. The only reason I didn't add Opera to the bad browsers list was that I couldn't be sure of the user agent string, and I didn't want to risk excluding good browsers. If you can provide a reliable RE, then I'll happily add it (the RE above is waaaay too general, IMHO)
CC
I can understand your reasoning, and I appreciate the work you and the others do with TWiki.
I guess the exclusion I have used is very general - I took it from the example of the default (that presumably isn't) on the TinyMCEPlugin topic. I have no idea how Konqueror works with the wysiwyg, as I don't use KDE anywhere.
However, non-nerds using Opera (which is becoming better used among the general population, if only by it's default install on games consoles and hand held devices) will try to edit pages on a default TWiki 4.2 install and find that everything gets messed up - which both means that the page (if they save) will be messed up for everyone else, and they possibly won't want to use it again. As a nerd, I know to cancel, then go to raw edit, but they won't
I don't spend much time crafting regular expressions, so I wouldn't know what to feed you. However, if you want me to test anything with Opera, I can do so from both Windows XP and Ubuntu versions of Opera 9.24
--
TWiki:Main.EdMcDonagh
- 12 Dec 2007
Interest piqued, I tried installing Opera (Debian etch, version 9.0 from the debian repository). Whenever I run it, i get a segmentation fault and no help. End of debug
--
TWiki:Main.CrawfordCurrie
- 13 Dec 2007
I would say that was a real shame. Apart from the proprietary nature of Opera, it is a joy to use, and only FF can come close to it once you have found and loaded many addons (particularly gestures).
However. that isn't the point of this 'bug'. How can I help you get to a situation where Opera is in the default 'bad browsers' list (much as I hate suggesting putting opera in such a list!)
--
TWiki:Main.EdMcDonagh
- 13 Dec 2007
Look in
configure
; in the environment vars. What is the user agent string? What part of it is unique?
--
TWiki:Main.CrawfordCurrie
- 16 Dec 2007
Opera/9.24 (X11; Linux i686; U; en)
from Ubuntu. I can check from XP tomorrow. Newer versions of Opera (certainly 9 onwards) are honest about which browser it is - older versions the preset was to pretend to be IE or Netscape.
Nothing else as far as I know pretends to be Opera, so surely if Opera is in the string at any point (which it is even when pretending to be something else - it gets put at the end after the other declarations), then it is Opera and should be 'bad-browser' listed?
--
TWiki:Main.EdMcDonagh
- 16 Dec 2007
Opera/9.24 (Windows NT 5.1; U; en)
from Windows XP
--
TWiki:Main.EdMcDonagh
- 17 Dec 2007
Ed, I'm sorry but you didn't flip this back to "New" status, so I didn't know you'd worked it out and it isn't in the 4.2 release.
CC
Oops! Shame
--
TWiki:Main.EdMcDonagh
- 10 Feb 2008
This is fixed in
trunk
and uploaded to TWiki.org. Will need to be merged to patch branch.
CC
Crawford. Did you ever merged this to the 4.2 patch branch?
KJL
The patch branch is maintained in exact synch with the trunk, so yes, it will have been merged.
--
CrawfordCurrie - 24 May 2008