Opened 14 years ago

Last modified 10 years ago

#8439 closed Bug

Formatting is not removed on CRTL+A DELETE — at Version 1

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 (1)

comment:1 Changed 14 years ago by Jakub Ś

Description: modified (diff)
Status: newconfirmed
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