Changeset 2054

Show
Ignore:
Timestamp:
2008-06-12 11:05:15 (7 months ago)
Author:
martinkou
Message:

Fixed #2193 : Fixed the issue where the caret cannot reach the last character of a paragraph in Opera 9.50.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fck_gecko.js

    r1997 r2054  
    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 ) ) ) 
  • FCKeditor/trunk/_whatsnew.html

    r2053 r2054  
    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>