Ticket #8430 (closed Bug: wontfix)

Opened 3 years ago

Last modified 8 months ago

Id attribute get lost when hit backspace

Reported by: flavien 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

comment:1 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed
  • Keywords IE added; ie removed
  • Version changed from 3.6.1 to 3.0

comment:2 Changed 3 years ago by j.swiderski

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 3 years ago by flavien

Is there any clue to resolve this problem ?

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

comment:4 Changed 3 years ago by flavien

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 8 months ago by Reinmar

  • Status changed from confirmed to closed
  • Resolution set to wontfix

comment:6 Changed 8 months ago by j.swiderski

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy