http://karenian.wordpress.com/2013/01/23/chrome-fix-openwysiwyg/
Here is the fix — just remove the Safari condition. To be very specific, here is the code:
isBrowserCompatible: function() {
// Validate browser and compatiblity
//if ((navigator.userAgent.indexOf('Safari') != -1 ) ||
!document.getElementById || !document.designMode)
if (!document.getElementById || !document.designMode) {
//no designMode (Safari lies)
return false;
}
return true;
},
Opened the file wysiwyg.js inside the /scripts folder.
Here is the fix — just remove the Safari condition. To be very specific, here is the code:
isBrowserCompatible: function() {
// Validate browser and compatiblity
//if ((navigator.userAgent.indexOf('Safari') != -1 ) ||
!document.getElementById || !document.designMode)
if (!document.getElementById || !document.designMode) {
//no designMode (Safari lies)
return false;
}
return true;
},
Opened the file wysiwyg.js inside the /scripts folder.
No comments:
Post a Comment