Index: _source/plugins/pagebreak/plugin.js =================================================================== --- _source/plugins/pagebreak/plugin.js (revision 5637) +++ _source/plugins/pagebreak/plugin.js (revision ) @@ -30,9 +30,8 @@ 'background-position: center center;' + 'background-repeat: no-repeat;' + 'clear: both;' + - 'display: block;' + 'float: none;' + - 'width:100% !important; _width:99.9% !important;' + + 'width: 5em;' + 'border-top: #999999 1px dotted;' + 'border-bottom: #999999 1px dotted;' + 'height: 5px !important;' + @@ -54,7 +53,7 @@ { elements : { - div : function( element ) + span : function( element ) { var attributes = element.attributes, style = attributes && attributes.style, @@ -62,7 +61,7 @@ childStyle = child && ( child.name == 'span' ) && child.attributes.style; if ( childStyle && ( /page-break-after\s*:\s*always/i ).test( style ) && ( /display\s*:\s*none/i ).test( childStyle ) ) - return editor.createFakeParserElement( element, 'cke_pagebreak', 'div' ); + return editor.createFakeParserElement( element, 'cke_pagebreak', 'span' ); } } }); @@ -77,10 +76,10 @@ exec : function( editor ) { // Create the element that represents a print break. - var breakObject = CKEDITOR.dom.element.createFromHtml( '