Opened 6 years ago

Closed 2 years ago

#8439 closed Bug (duplicate)

Formatting is not removed on CRTL+A DELETE

Reported by: j.swiderski Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description (last modified by j.swiderski)

This ticked is based on part of #8410 ticket reported by @mrfr0g.

Another issue I have noticed during my tests, is when you execute a ctrl+a or apple+a to >select all the text, and press delete, the bold button remains highlighted. The style does >not exist on the document, so the bold button should be unhighlighted.

  1. Clear editor contents
  2. Type "test"
  3. Press cmd+a on Mac or crtl+a on Win
  4. Click bold or italic or underline
  5. Text should be still selected. Press Delete key

In element's path:
Webkit shows "body p b" (#8438),
Opera and IE show "body p strong"
and if you start typing the text will be bold which means that formatting is not removed.
In Firefox (just like in Word) formatting is removed.

The same thing also applies to:
Bold, underline, italic, strike, sub, sup, Font Size, Paragraph Format and Styles dropdown lists.

The only exception from this rule are inline styles from Styles dropdown (E.g. Marker yellow.) which are removed on pressing Delete key in Webkit.

Change History (4)

comment:1 Changed 6 years ago by j.swiderski

  • Description modified (diff)
  • Status changed from new to confirmed

comment:2 Changed 6 years ago by j.swiderski

What is more it is very hard to remove the formatting left and each browser is handling it it’s own way. I have reported this issue here: #8440

comment:3 Changed 2 years ago by j.swiderski

  • Status changed from confirmed to new

I have decided to refresh this ticket and as a result I have come up with these two #13224, #13225.

I'm closing this one as duplicate.

comment:4 Changed 2 years ago by j.swiderski

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy