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 )
<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
Keywords: | selection contenteditable removed |
---|---|
Status: | new → pending |
Version: | 3.6.2 |
comment:2 Changed 13 years ago by
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
Description: | modified (diff) |
---|---|
Keywords: | IE8 added |
Status: | pending → confirmed |
Version: | → 3.3.1 |
Issue has been reproducible only in IE8 from CKEditor 3.3.1
- Just paste the example code
- Place the curosor behind 'e'
- Press backspace key
comment:4 Changed 13 years ago by
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.
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 frontabc^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?