Opened 15 years ago

Last modified 15 years ago

#3671 closed Bug

Inserting Page break is introducing new paragraph — at Version 1

Reported by: Garry Yao Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.0
Component: Core : Styles Version:
Keywords: Confirmed Review+ Cc:

Description (last modified by Garry Yao)

Reproducing Procedures

  1. Open the replace by class example page in FF;
  2. Click on 'New Page' to empty document content;
  3. Click on 'Insert Page Break for Printing' to insert a page break;
  4. Click on the newly introduced page break fake element;
    • Expected Result: A new paragraph is created before it.
      <div style="page-break-after: always;">
      		<span style="display: none;">&nbsp;</span></div>
      
    • Actual Result: Javascript error thrown.
      === Reproducing Procedures ===
       1. Open  the ''replace by class'' example page in FF;
       1. Click on 'New Page' to empty document content;
       1. Click on 'Insert Page Break for Printing' to insert a page break;
       1. Click on the newly introduced page break fake element;
        * Expected Result: A new paragraph is created before it.
      {{{
      <div style="page-break-after: always;">
      		<span style="display: none;">&nbsp;</span></div>
      }}}
        * Actual Result:
      {{{
      <p>
         <br /></p>
      <p>
      <div style="page-break-after: always;">
      		<span style="display: none;">&nbsp;</span></div>
      </p>
      
      }}}
      
      

Change History (1)

comment:1 Changed 15 years ago by Garry Yao

Description: modified (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy