Opened 13 years ago

Last modified 13 years ago

#7070 closed Bug

Extra line break added to the list item when applying a style — at Version 3

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone: CKEditor 3.5.1
Component: General Version: 3.5.1
Keywords: Firefox Cc:

Description (last modified by Wiktor Walc)

Use the following selection:

<ul>
	<li>
		aaa [bbb</li>
	<li>
		ccc] ddd</li>
</ul>

and apply bold, italic, underline, font color etc.

Result:

<ul>
	<li>
		aaa <u><em><strong>[bbb</strong></em></u><br />
		<br />
		<br />
		&nbsp;</li>
	<li>
		<u><em><strong>ccc]</strong></em></u> ddd</li>
</ul>

Caused by [6373].

Change History (4)

comment:1 Changed 13 years ago by Wiktor Walc

Status: newconfirmed

Another TC, enter mode = BR, paste the following in source:

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
	<tbody>
		<tr>
			<td>
				aaa</td>
			<td>
				bbb</td>
		</tr>
		<tr>
			<td>
				ccc</td>
			<td>
				ddd</td>
		</tr>
	</tbody>
</table>

select all, apply styles: bold, italic, underline. Result: extra line breaks are added to elements in the first row.

comment:2 Changed 13 years ago by Wiktor Walc

Keywords: Firefox added
Summary: [enterBr] Extra line break added to the list item when applying a styleExtra line break added to the list item when applying a style

Note: it actually happens in all enter modes.

comment:3 Changed 13 years ago by Wiktor Walc

Description: modified (diff)

Changed 13 years ago by Sa'ar Zac Elias

Attachment: 7070.patch added
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