Index: _whatsnew.html
===================================================================
--- _whatsnew.html (revision 2571)
+++ _whatsnew.html (working copy)
@@ -91,7 +91,9 @@
[#2516] Replaced the
extension AddItem of Array with the standard "push" method.
[#2486] Vertically splitting
- cell with colspan > 1 breaks table layout.
+ cell with colspan > 1 breaks table layout.
+ [#2597] Fixed the issue
+ where dropping contents from outside of the editor doesn't work in Safari.
See previous versions history
Index: editor/_source/internals/fck_gecko.js
===================================================================
--- editor/_source/internals/fck_gecko.js (revision 2571)
+++ editor/_source/internals/fck_gecko.js (working copy)
@@ -229,9 +229,8 @@
}
else if ( FCKBrowserInfo.IsSafari )
{
- var cancelHandler = function( evt ){ if ( ! FCK.MouseDownFlag ) evt.returnValue = false ; }
- this.EditorDocument.addEventListener( 'dragenter', cancelHandler, true ) ;
- this.EditorDocument.addEventListener( 'dragover', cancelHandler, true ) ;
+ this.EditorDocument.addEventListener( 'dragover', function ( evt )
+ { if ( !FCK.MouseDownFlag && FCK.Config.ForcePasteAsPlainText ) evt.returnValue = false ; }, true ) ;
this.EditorDocument.addEventListener( 'drop', this._ExecDrop, true ) ;
this.EditorDocument.addEventListener( 'mousedown',
function( ev )