Opened 13 years ago
Last modified 12 years ago
#8723 confirmed Bug
in chrome, span with class attribute removed when merging blocks on delete/backspace
Reported by: | alissa | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Webkit | Cc: |
Description ¶
- set the enter mode to P or DIV
- set some style, for example bold to add span with class='bold'
- clean all text from the edited area
- press enter (
<p><br></p>
will be added) - switch to bold
- write some text (you will have
<p><br></p><p><span class='bold'>aa</span></p>
) - go to the 1st line
- press delete
the expected result is that you'll get
<p><span class='bold'>aa</span></p>
but instead you get
<p>aa</p>
I understand that this is a webkit bug, but unfortunately I guess that when they will fix the issue it will be with inline style instead of a class.. thanks

Change History (2)
comment:1 Changed 13 years ago by
Keywords: | Webkit added; Chrome css class delete removed |
---|---|
Status: | new → confirmed |
Version: | 3.6.2 → 3.0 |
comment:2 Changed 12 years ago by
This is still an issue in Chrome and Safari. Don't get fooled by extra span added on delete in Chrome. This isn't the same span - reported here: #9998.

I believe this is the same as - #7381 but the former was closed as "works for me".
In current version of Chrome 16.0.912.77 m and Safari 5.1.2 This issue can be reproduced from CKEditor 3.0.
Just paste in one of below codes:
In all cases <span class='abold'> will be removed.