Opened 3 years ago

Last modified 18 months 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 3 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 21 months 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 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy