changeset 5819:e55c5df76cee

enable webkit based browsers (experimental, try chrome/safari/konqueror now) Please give feedback there: http://moinmo.in/MoinMoinBugs/1.9.3GUIEditorInWebKit As FCKeditor devs have fixed http://dev.fckeditor.net/ticket/2333 meanwhile, we can try using safari for gui editing now. As we also fixed a bug in our code recently (see http://hg.moinmo.in/moin/1.9/rev/8b17f7e86ba4 ) that happened (at least) for chrome, chrome might also work now. Now moin uses exactly the same "is browser compatible" code as is also built in into FCKeditor. If there is any issue with GUI editing and you are not using Firefox or IE, it might be that your browser + FCKeditor is not posting sanitized XHTML back to moin on save. This usually leads to an error 500 with an expaterror in the logs due to the data not being well-formed. In case you are having too much troubles with the gui editor and the issue mentioned above, we recommend that you simply switch it off in your wiki configuration and just use the text editor.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 14 Jan 2012 20:01:29 +0100
parents 8b17f7e86ba4
children ff39884957af
files MoinMoin/web/static/htdocs/common/js/common.js
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/static/htdocs/common/js/common.js	Sat Jan 14 19:14:28 2012 +0100
+++ b/MoinMoin/web/static/htdocs/common/js/common.js	Sat Jan 14 20:01:29 2012 +0100
@@ -98,9 +98,6 @@
     if ( window.opera && window.opera.version && parseFloat( window.opera.version() ) >= 9.5 )
         return true ;
 
-/*
-  // disable safari : until fck devteam fix http://dev.fckeditor.net/ticket/2333
-  
     // Adobe AIR
     // Checked before Safari because AIR have the WebKit rich text editor
     // features from Safari 3.0.4, but the version reported is 420.
@@ -110,7 +107,7 @@
     // Safari 3+
     if ( sAgent.indexOf( ' applewebkit/' ) != -1 )
         return ( sAgent.match( / applewebkit\/(\d+)/ )[1] >= 522 ) ;    // Build must be at least 522 (v3)
-*/
+
     return false ;
 
 }