Changeset 6819


Ignore:
Timestamp:
04/29/11 16:48:19 (4 years ago)
Author:
garry.yao
Message:

#7750: Fixing regression of [6682] which break enter key in body.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/branches/versions/3.6.x/_source/plugins/enterkey/plugin.js

    r6772 r6819  
    5959                        } 
    6060                        // Don't split <pre> if we're in the middle of it, act as shift enter key. 
    61                         else if ( !atBlockEnd && block.is( 'pre' ) ) 
     61                        else if ( !atBlockEnd && block && block.is( 'pre' ) ) 
    6262                                return enterBr( editor, mode, range, forceMode ); 
    6363 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy