Opened 13 years ago

Closed 12 years ago

#8132 closed Bug (fixed)

[IE9] When an <a> contains a <br>, when you click the <br> the <a> changes to <a name="cke_range_marker">

Reported by: Jonathon Sim Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.6.3
Component: General Version: 3.5.4
Keywords: IE9 Cc:

Description

In ckeditor 3.6.1 and also the latest nightly demo, eg http://nightly.ckeditor.com/7084/_samples/replacebyclass.html

If you have HTML where a link contains a break, like so:

<a href="http://google.com">In IE9 click the end of this line -&gt;<br />
	then the link turns into an anchor</a>

When you click on the end of the line containing the <br>, your link will immediately change to an anchor. The source is changed to this:

<p>
	<a name="cke_range_marker">In IE9 click the end of this line -&gt;<br />
	then the link turns into an anchor</a></p>

I have tested this with IE8, which doesn't have this problem. Other browsers (firefox, chrome etc) do not either.

Attachments (1)

8132.patch (1.1 KB) - added by Garry Yao 12 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by Jakub Ś

Keywords: IE9 added
Status: newconfirmed
Version: 3.6.2 (SVN - trunk)3.5.4

Reproducible from CKEditor 3.5.4 (although in 3.5.4, clicked link looked like text).

When clicking at the end of the line the JS error is thrown:
Message: DOM Exception: NOT_FOUND_ERR (8)
Line:760[[BR]] URI: /_source/plugins/selection/plugin.js

comment:2 Changed 12 years ago by finalweb

Version: 3.5.43.6.2

Is there any update on this issue? It affects all users in the 32bit version of IE 9. It exists in 3.6.2 as well.

comment:3 Changed 12 years ago by Jakub Ś

Version: 3.6.23.5.4

Version filed is used to indicate when the problem occurred for the first time and not last. Please do not change this value.

comment:4 Changed 12 years ago by Brian

Any activity on this? I have some irate customers due to this bug, would love to see a fix.

comment:5 Changed 12 years ago by Frederico Caldeira Knabben

This issue is caused by [6624].

Changed 12 years ago by Garry Yao

Attachment: 8132.patch added

comment:6 Changed 12 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedreview

comment:7 Changed 12 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.6.3
Status: reviewreview_passed

Nice finding.

comment:8 Changed 12 years ago by Garry Yao

Fixed with [7366].

comment:9 Changed 12 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed
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