Opened 14 years ago

Closed 14 years ago

#7074 closed Bug (fixed)

[Firefox, enterBr] Setting inline style over fully selected document with table ruins the table

Reported by: Sa'ar Zac Elias Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.5.1
Component: Core : Styles Version: 3.5.1
Keywords: Firefox Cc:

Description

  • Open editor with enterMode = BR.
  • Click "new page".
  • Insert a table, fill in text in each cell.
  • Hit CTRL+A and apply "bold" style.

Expected:

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
	<tbody>
		<tr>
			<td>
				<strong>a</strong></td>
			<td>
				<strong>b</strong></td>
		</tr>
		<tr>
			<td>
				<strong>c</strong></td>
			<td>
				<strong>d</strong></td>
		</tr>
		<tr>
			<td>
				<strong>e</strong></td>
			<td>
				<strong>f</strong></td>
		</tr>
	</tbody>
</table>

Result:

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
	<tbody>
		<tr>
			<td>
				<strong>a</strong></td>
			<td>
				<strong>b</strong></td>
		</tr>
		<tr>
			<td>
				<strong>c</strong></td>
			<td>
				<strong>d</strong></td>
		</tr>
		<tr>
			<td>
				<strong>e</strong></td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>
<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
	<tbody>
		<tr>
			<td>
				<strong>f</strong></td>
		</tr>
	</tbody>
</table>

Regression of [6275].

Attachments (1)

7074.patch (960 bytes) - added by Garry Yao 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by Wiktor Walc

Status: newconfirmed

comment:2 Changed 14 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedassigned

Changed 14 years ago by Garry Yao

Attachment: 7074.patch added

comment:3 Changed 14 years ago by Garry Yao

Status: assignedreview

comment:4 Changed 14 years ago by Sa'ar Zac Elias

Status: reviewreview_passed

comment:5 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [6384].

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