Ticket #5121: 5121_5.patch
File 5121_5.patch, 1.4 KB (added by , 14 years ago) |
---|
-
_source/plugins/format/plugin.js
21 21 { 22 22 var tag = tags[ i ]; 23 23 styles[ tag ] = new CKEDITOR.style( config[ 'format_' + tag ] ); 24 styles[ tag ]._.enterMode = editor.config.enterMode; 24 25 } 25 26 26 27 editor.ui.addRichCombo( 'Format', -
_source/plugins/styles/plugin.js
752 752 753 753 var iterator = range.createIterator(); 754 754 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 ); 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 }