Ticket #2193: 2193.patch

File 2193.patch, 1.4 KB (added by Martin Kou, 15 years ago)
  • _whatsnew.html

     
    122122                        Safari 3.1 browser bug which caused the Fit Window button to give a blank screen.</li>
    123123                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2218">#2218</a>] Improved Gecko based browser
    124124                        detection to accept Epiphany/Gecko as well.</li>
     125                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2193">#2193</a>] Fixed the issue where the caret
     126                        cannot reach the last character of a paragraph in Opera 9.50.</li>
    125127        </ul>
    126128        <h3>
    127129                Version 2.6</h3>
  • editor/_source/internals/fck_gecko.js

     
    104104
    105105                        // only perform the patched behavior if we're in an <a> tag, or the End key is pressed.
    106106                        var parentTag = node.parentNode.tagName.toLowerCase() ;
    107                         if ( ! (  parentTag == 'a' || String(node.parentNode.contentEditable) == 'false' ||
     107                        if ( ! (  parentTag == 'a' || ( !FCKBrowserInfo.IsOpera && String(node.parentNode.contentEditable) == 'false' ) ||
    108108                                        ( ! ( FCKListsLib.BlockElements[parentTag] || FCKListsLib.NonEmptyBlockElements[parentTag] )
    109109                                          && keyCode == 35 ) ) )
    110110                                return ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy