Opened 16 years ago

Last modified 16 years ago

#3664 closed Bug

Insert table in empty document add extra line — at Version 1

Reported by: Garry Yao Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.1
Component: Core : Styles Version:
Keywords: Confirmed HasTest 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 the document;
  3. Insert a default table;
    • Expected Result:
      <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
      ...
      </table>
      <p>
      	<br />
      </p>
      
    • Actual Result: There's an paragraph established before the table:
      <p>
      	<br />
      </p>
      <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
      ...
      </table>
      <p>
      	<br />
      </p>
      

Change History (2)

Changed 16 years ago by Garry Yao

Attachment: 3664.patch added

comment:1 Changed 16 years ago by Garry Yao

Description: modified (diff)

Not sure if we need to trim the last paragraph, so keep it in the expected result.

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