Ticket #3166: 3166.patch

File 3166.patch, 436 bytes (added by Garry Yao, 10 years ago)
  • _source/plugins/enterkey/plugin.js

     
    3131
    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;
    3640
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy