Opened 13 years ago

Closed 11 years ago

Last modified 10 years ago

#8430 closed Bug (wontfix)

Id attribute get lost when hit backspace

Reported by: Flavien CROCHARD Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IE Cc:

Description

Reproduced with internet explorer. Works fine in firefox. In source mode, inject this code :

<div id="body">
	<ul>
		<li>
			foo</li>
	</ul>
</div>

In wysiwyg mode, press enter after foo. Then press backspace, and go to source mode. The id attribute on the div is lost;

Thanks in advance.

Change History (6)

comment:1 Changed 13 years ago by Jakub Ś

Keywords: IE added; ie removed
Status: newconfirmed
Version: 3.6.13.0

comment:2 Changed 13 years ago by Jakub Ś

Reproducible in all versions of IE.

From CKE 3.5.4 two paragraphs are created but this is due to #8419

<div>
	<ul>
		<li>
			foo</li>
	</ul>
</div>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>

comment:3 Changed 13 years ago by Flavien CROCHARD

Is there any clue to resolve this problem ?

Thanks in advance if it can be solved quickly :).

comment:4 Changed 13 years ago by Flavien CROCHARD

I apologize, it's a bug from IE. Go to that url http://vien.us/bad_ie.html. It's an iframe with a contenteditable attribute on the body. Do the same test as before. The id on the div disappears.

The ticket can be closed. Thanks for everything.

comment:5 Changed 11 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: confirmedclosed

comment:6 Changed 10 years ago by Jakub Ś

I have tried to reproduce it in IE8-10 and editor 4.x and CKE 3.6.6 but wasn't able seems id is kept there.

This may be because behaviour for backspace was changed. Now cursor is put in last list item and now in new paragraph.

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