Ticket #5121: 5121_3.patch
File 5121_3.patch, 1.1 KB (added by , 15 years ago) |
---|
-
_source/plugins/styles/plugin.js
104 104 105 105 this._ = 106 106 { 107 definition : styleDefinition 107 definition : styleDefinition, 108 enterMode : CKEDITOR.ENTER_P 108 109 }; 109 110 }; 110 111 … … 752 753 753 754 var iterator = range.createIterator(); 754 755 iterator.enforceRealBlocks = true; 756 757 // make recognize <br /> tag as a separator in ENTER_BR mode (#5121) 758 iterator.enlargeBr = ( this._.enterMode != CKEDITOR.ENTER_BR ); 755 759 756 760 var block; 757 761 var doc = range.document; -
_source/plugins/stylescombo/plugin.js
34 34 35 35 style = styles[ styleName ] = new CKEDITOR.style( styleDefinition ); 36 36 style._name = styleName; 37 style._.enterMode = config.enterMode; 37 38 38 39 stylesList.push( style ); 39 40 }