Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#7241 closed Bug (fixed)

Select table adds <br>

Reported by: Frederico Caldeira Knabben Owned by:
Priority: Normal Milestone:
Component: Core : Tables Version: 3.5.1
Keywords: Cc:

Description

  1. Load this HTML:
<table>
	<tbody>
		<tr>
			<td>cell1</td>
			<td>cell2</td>
		</tr>
		<tr>
			<td>cell3</td>
			<td>cell4</td>
		</tr>
	</tbody>
</table>
  1. Click inside any table cell.
  2. In the elements path, click on "table".

Note that an additional space is appended to the bottom of the table.

In source view, this is what we have:

<table>
	<br />
	<tbody>
		<tr>
			<td>
				cell1</td>
			<td>
				cell2</td>
		</tr>
		<tr>
			<td>
				cell3</td>
			<td>
				cell4</td>
		</tr>
	</tbody>
</table>
<p>
	&nbsp;</p>

Both the <br> and the <p> are unwanted.

Introduced with CKEditor 3.5.1.

Change History (5)

comment:1 Changed 13 years ago by Krzysztof Studnik

Component: GeneralCore : Tables
Status: newconfirmed
  • the <p> is also possible to reproduce by updated /tt/4809 un r6505 ( I thought that the <p> below the table was expected, so first i added this to test result)
  • the <br /> tag appears to me in firefox 3 on the bottom of table:
    ...
    </tbody>
    	<br />
    </table>
    <p>
    	&nbsp;</p>
    

comment:2 Changed 13 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added
Keywords: IBM added

comment:3 Changed 13 years ago by Garry Yao

Resolution: fixed
Status: confirmedclosed

Expired on trunk.

comment:4 Changed 13 years ago by Satya Minnekanti

I could still reproduce this on nightly build.it is still adding &nbsp; after the table.Please re open this ticket.

comment:5 Changed 12 years ago by Satya Minnekanti

Cc: satya_minnekanti@… removed
Keywords: IBM removed
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