Opened 11 years ago

Closed 11 years ago

#3330 closed Bug (duplicate)

Bogus br when Insert table cell

Reported by: Garry Yao Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Firefox Webkit Cc:

Description

Table cell insertion logic should be optimized to be filled with bogus BR instead of hard BR.

Reproducing Procedures

  1. Open the replace by class example page;
  2. Clear all document content, and open 'Table' dialog to Insert a 1x1 table;
  3. Switch to 'Source' mode.
    • Actual Result: Extra BRs displayed in source code.
      <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
      	<tbody>
      		<tr>
      			<td>
      				<br />
      			</td>
      		</tr>
      	</tbody>
      </table>
      <p>
      	<br />
      </p>
      
    • Expected Result:
      <table border="1" cellpadding="1" cellspacing="1" style="width: 200px">
      	<tbody>
      		<tr>
      			<td>
      			</td>
      		</tr>
      	</tbody>
      </table>
      

Change History (1)

comment:1 Changed 11 years ago by Frederico Caldeira Knabben

Resolution: duplicate
Status: newclosed

This is actually #2886.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy