Changes between Initial Version and Version 1 of Ticket #12246

Jul 24, 2014, 8:33:44 AM (7 years ago)
Wiktor Walc


  • Ticket #12246 – Description

    initial v1  
    1 Reported through support channel.
     1Reported through support channel. Original request is pasted below.
     2Note that the default value should be probably highlighted using a different style than a value that was manually selected by a user.
     4This is because:
     5 * it should be impossible to unselect the default font, which means that we should differentiate it visually
     6 * the default font should be unselected "automatically" only when user selects different value
     7 * the current behavior of richcombo should rather change as well - clicking on a default value should not result in the default value being applied to the content once again as it is done right now:
     9CKEditor with `font_defaultLabel : 'Arial'`, after selecting `Arial` in Font Name combo:
     11<p>This is <span style="font-family:arial,helvetica,sans-serif">some sample
     12</span> text.</p>
     15The "default" style should be applied to the content only, if the style of the content has been already modified by the user, e.g. set the style back to Arial in the middle of the sentence in "Comic Sans":
     18<p><span style="font-family:comic sans ms,cursive">This is <span style=
     19"font-family:arial,helvetica,sans-serif">some sample</span> text.</span></p>
     21(now repeating Arial make sense)
    327We found a small issue with font_defaultLabel and fontSize_defaultLabel. When these are set, the CKEditor does properly show them selected.  But if you open the associated dropdown, they are not highlighted to indicate they are selected.
    529Screen capture 1: font and font size are properly displayed when using font_defaultLabel and fontSize_defaultLabel
    834Screen capture 2: font is not highlighted. Same thing for font size.
     36[[Image(ImageDisplayZSupport (1).png)]]
    1140Screen capture 3: this is what we would expect when setting the font_defaultLabel setting
     42[[Image(ImageDisplayZSupport (2).png)]]
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy