Opened 13 years ago

Closed 9 years ago

#8439 closed Bug (duplicate)

Formatting is not removed on CRTL+A DELETE

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description (last modified by Jakub Ś)

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

Result:
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 13 years ago by Jakub Ś

Description: modified (diff)
Status: newconfirmed

comment:2 Changed 13 years ago by Jakub Ś

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 9 years ago by Jakub Ś

Status: confirmednew

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 9 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy