Ticket #2597: 2597.patch

File 2597.patch, 1.7 KB (added by Martin Kou, 16 years ago)
  • _whatsnew.html

     
    9191                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2516">#2516</a>] Replaced the
    9292                        extension AddItem of Array with the standard "push" method.</li>
    9393                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2486">#2486</a>] Vertically splitting
    94                         cell with colspan > 1 breaks table layout.</li>                         
     94                        cell with colspan &gt; 1 breaks table layout.</li>                     
     95                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2597">#2597</a>] Fixed the issue
     96                        where dropping contents from outside of the editor doesn't work in Safari.</li>
    9597        </ul>
    9698        <p>
    9799                <a href="_whatsnew_history.html">See previous versions history</a></p>
  • editor/_source/internals/fck_gecko.js

     
    229229        }
    230230        else if ( FCKBrowserInfo.IsSafari )
    231231        {
    232                 var cancelHandler = function( evt ){ if ( ! FCK.MouseDownFlag ) evt.returnValue = false ; }
    233                 this.EditorDocument.addEventListener( 'dragenter', cancelHandler, true ) ;
    234                 this.EditorDocument.addEventListener( 'dragover', cancelHandler, true ) ;
     232                this.EditorDocument.addEventListener( 'dragover', function ( evt )
     233                                { if ( !FCK.MouseDownFlag && FCK.Config.ForcePasteAsPlainText ) evt.returnValue = false ; }, true ) ;
    235234                this.EditorDocument.addEventListener( 'drop', this._ExecDrop, true ) ;
    236235                this.EditorDocument.addEventListener( 'mousedown',
    237236                        function( ev )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy