Changeset 3258


Ignore:
Timestamp:
03/20/09 18:11:27 (5 years ago)
Author:
garry.yao
Message:

Fix #3166: Disable EnterKey logic within source mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/plugins/enterkey/plugin.js

    r3194 r3258  
    3232        function enter( editor, mode ) 
    3333        { 
     34                // Only effective within document. 
     35                if ( editor.mode != 'wysiwyg' ) 
     36                        return; 
     37                         
    3438                if ( !mode ) 
    3539                        mode = editor.config.enterMode; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy