Opened 10 years ago
Last modified 8 years ago
#13224 confirmed Bug
Blink/Webkit change formatting of inline styles when removing them and don't remove them completely.
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Blink Webkit | Cc: |
Description (last modified by )
- Open replacebycode sample and press New Page command
- Type some text
- Click Ctrl+A and Ctrl+B (text is bold and element's path shows
bpdy p strong
) - Press Backspace or Delete buttons
- Element's path shows
body p
and bold button is deactivated. - Start typing.
Result: Typed text is bold (First problem), bold button is active and element's path is showing "body p b" (<- notice the conversion, this is second problem).
Problems can be reproduced from CKEditor 3.0 in Blink and Webkit browsers.
Change History (6)
comment:1 Changed 10 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 9 years ago by
comment:4 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Summary: | Problem with removing inline styles with Backspace/Delete → Blink/Webkit change formatting of inline styles when removing them and don't remove them completely. |
comment:6 Changed 8 years ago by
From what I have checked problem can be reproduced in browser itself. Just put below code into your HTML page, run it in the browser and apply test case steps. Bold text will be recreated out of nowhere and strong
tag will be replaced to bold
.
<div style="margin:20px; border:1px solid black; width:500px;" contenteditable="true"> <p><strong>test bold</strong></p> </div>
Other tickets relatedtto that problem: #13820, #12139, #13504, #5026 (Test 2), #13830, #13225.