Ticket #3166: 3166.patch

File 3166.patch, 436 bytes (added by Garry Yao, 15 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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy