Ticket #7817: 7817.patch

File 7817.patch, 628 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    462462
    463463                init : function( editor )
    464464                {
    465                         var fixForBody = ( editor.config.enterMode != CKEDITOR.ENTER_BR )
     465                        var fixForBody = ( editor.config.enterMode != CKEDITOR.ENTER_BR && editor.config.autoParagraph !== false )
    466466                                ? editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' : false;
    467467
    468468                        var frameLabel = editor.lang.editorTitle.replace( '%1', editor.name );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy