Opened 4 years ago

Last modified 20 months 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 Jakub Ś)

  1. Open replacebycode sample and press New Page command
  2. Type some text
  3. Click Ctrl+A and Ctrl+B (text is bold and element's path shows bpdy p strong)
  4. Press Backspace or Delete buttons
  5. Element's path shows body p and bold button is deactivated.
  6. 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 4 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 4 years ago by Jakub Ś

Other tickets relatedtto that problem: #13820, #12139, #13504, #5026 (Test 2), #13830, #13225.

comment:3 Changed 3 years ago by Jakub Ś

#14281 was marked as duplicate.

comment:4 Changed 3 years ago by Jakub Ś

Description: modified (diff)
Summary: Problem with removing inline styles with Backspace/DeleteBlink/Webkit change formatting of inline styles when removing them and don't remove them completely.

comment:5 Changed 2 years ago by mtravis

Here is some additional info about the Blink browser: wiki

comment:6 Changed 20 months ago by Jakub Ś

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>
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy