Opened 13 years ago

Last modified 10 years ago

#8541 confirmed Bug

Wrong selection after deleted last character after contenteditable span

Reported by: mazongquan Owned by:
Priority: Normal Milestone:
Component: General Version: 3.3.1
Keywords: IE8 Cc:

Description (last modified by Jakub Ś)

<html>
<head>
<title>CKEditor Sample</title>
</head>
<body>
<p> abcd<span contenteditable="false">XXX</span>e<p>
</body>
</html>

For above sample, in CKeditor 3.6.2, the cursor is move to the front of span after I clicked backspace and delete 'e' that after the span. Why is that? How can I change the code to correct it? Thanks.

Change History (5)

comment:1 Changed 13 years ago by Jakub Ś

Keywords: selection contenteditable removed
Status: newpending
Version: 3.6.2

the cursor is move to the front of span after I clicked backspace

I was not able to reproduce it in any browser.

Every time when I hit Backspace key the cursor stayed behind abcXXX^ and not in front abc^XXX.

Could you provide me with more information like in which browser (make and version) and operating system does the issue occur? Perhaps you could be able to provide more detailed test scenario here?

comment:2 Changed 13 years ago by mazongquan

Thank you for response, and sorry for missing the information about browser. I use IE8, windowsXP SP3. It seems work fine on FF and IE6, so I suppose it is only happened in IE8 or higher version maybe.

comment:3 Changed 13 years ago by Jakub Ś

Description: modified (diff)
Keywords: IE8 added
Status: pendingconfirmed
Version: 3.3.1

Issue has been reproducible only in IE8 from CKEditor 3.3.1

  1. Just paste the example code
  2. Place the curosor behind 'e'
  3. Press backspace key

comment:4 Changed 13 years ago by mazongquan

I tried below content in CKEditor 3.3, the problem is still exist:

<html>
<head>
<title>CKEditor Sample</title>
</head>
<body>
<p> abcd<span contenteditable="false" style="display:inline-block">XXX</span>e<p>
</body>
</html>

So I think the root cause is inline-block.

comment:5 Changed 10 years ago by Jakub Ś

This issue might be caused by #5801

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