Opened 5 years ago

Last modified 4 years ago

#12526 confirmed Bug

Can't remove block style after changing format.

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

Description

  1. Clear editor contents and select "Italic Title"
  2. Type few characters and press enter.
  3. In second line change format to DIV (from format dropdown) and start typing. Result is italic div and there is nothing selected in styles dropdown probably because there is no such style.
  4. Press enter and in third line change format to P. Typed text is still italic.

Result - you get italic P which you can only deactivate with Apply/Remove Italic title from styles dropdown.

Change History (4)

comment:1 Changed 5 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 5 years ago by Piotrek Koszuliński

It would be good if choosing format removed the previously applied style. It could work the same way as my plugin for enter key - try to match one of the styles and remove it before applying format. Though, that would need to be configurable or simply implemented in a separate plugin.

comment:3 Changed 4 years ago by Jakub Ś

#13237 was marked as duplicate.

comment:4 Changed 4 years ago by Jakub Ś

#13783 was marked as duplicate.

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