Opened 9 years ago

Last modified 7 years ago

#13553 confirmed Bug

Dropdowns shouldn’t show any option when multiple styles, fonts or formats are selected

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

Description

  1. Clear editor
  2. Insert below code into editor and select all contents with Ctrl+A
    <p><span style="font-family:arial,helvetica,sans-serif">test arial</span></p>
    <h1>test H1</h1>
    <p><span style="font-family:comic sans ms,cursive">test comic</span></p>
    

Result: Font dropdown shows Arial. In general, dropdowns reflect the beginning of selection.

Expected result: Dropdown shouldn’t show any value as current behaviour gives false impression that whole content has this type of font assigned.

Change History (3)

comment:1 Changed 9 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 7 years ago by Jakub Ś

#16865 was marked as duplicate.

There is a pretty good comment made there: "for the case where you have font in comic sans | plain text and you want to apply Comic Sans to all text, you will first need to disable Comic Sans and then apply it again". This could probably be avoided if style from dropdown hasn't been selected if selection doesn't contain only text with e.g. Comic Sans.

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