Changes between Initial Version and Version 1 of Ticket #12246


Ignore:
Timestamp:
Jul 24, 2014, 8:33:44 AM (10 years ago)
Author:
Wiktor Walc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • 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.
     3
     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:
     8
     9CKEditor with `font_defaultLabel : 'Arial'`, after selecting `Arial` in Font Name combo:
     10{{{
     11<p>This is <span style="font-family:arial,helvetica,sans-serif">some sample
     12</span> text.</p>
     13}}}
     14
     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":
     16
     17{{{
     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>
     20}}}
     21(now repeating Arial make sense)
     22
     23
     24----
     25
    226
    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
    630
     31[[Image(ImageDisplayZSupport.png)]]
     32
    733 
    834Screen capture 2: font is not highlighted. Same thing for font size.
    935
     36[[Image(ImageDisplayZSupport (1).png)]]
     37
     38
    1039 
    1140Screen capture 3: this is what we would expect when setting the font_defaultLabel setting
     41
     42[[Image(ImageDisplayZSupport (2).png)]]
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy