Ticket #8439 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

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

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

comment:1 Changed 3 years ago by j.swiderski

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

comment:2 Changed 3 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

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy