Changeset 4919


Ignore:
Timestamp:
01/13/10 14:21:07 (5 years ago)
Author:
fredck
Message:

#4964 : The BACKSPACE key positioning was not correct in some cases with Firefox.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r4918 r4919  
    4949                <li><a href="http://dev.fckeditor.net/ticket/4724">#4724</a> : Using the mouse to insert a link in IE might create incorrect results.</li> 
    5050                <li><a href="http://dev.fckeditor.net/ticket/4640">#4640</a> : Small optimizations for the fileBrowser plugin.</li> 
     51                <li><a href="http://dev.fckeditor.net/ticket/4964">#4964</a> : The BACKSPACE key positioning was not correct in some cases with Firefox.</li> 
    5152        </ul> 
    5253        <h3> 
  • CKEditor/trunk/_source/core/dom/element.js

    r4904 r4919  
    244244                        if ( !lastChild || !lastChild.is || !lastChild.is( 'br' ) ) 
    245245                        { 
    246                                 this.append( 
    247                                         CKEDITOR.env.opera ? 
     246                                var bogus = CKEDITOR.env.opera ? 
    248247                                                this.getDocument().createText('') : 
    249                                                 this.getDocument().createElement( 'br' ) ); 
     248                                                this.getDocument().createElement( 'br' ); 
     249 
     250                                CKEDITOR.env.gecko && bogus.setAttribute( 'type', '_moz' ); 
     251 
     252                                this.append( bogus ); 
    250253                        } 
    251254                }, 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy