Ticket #5121: 5121_4.patch

File 5121_4.patch, 1009 bytes (added by brooks, 14 years ago)
  • _source/plugins/styles/plugin.js

     
    752752
    753753                var iterator = range.createIterator();
    754754                iterator.enforceRealBlocks = true;
     755               
     756                // make recognize <br /> tag as a separator in ENTER_BR mode (#5121)
     757                if ( this._.enterMode )
     758                        iterator.enlargeBr = ( this._.enterMode != CKEDITOR.ENTER_BR );
    755759
    756760                var block;
    757761                var doc = range.document;
  • _source/plugins/stylescombo/plugin.js

     
    3434
    3535                                                        style = styles[ styleName ] = new CKEDITOR.style( styleDefinition );
    3636                                                        style._name = styleName;
     37                                                        style._.enterMode = config.enterMode;
    3738
    3839                                                        stylesList.push( style );
    3940                                                }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy