1 | | Reported through support channel. |
| 1 | Reported through support channel. Original request is pasted below. |
| 2 | Note that the default value should be probably highlighted using a different style than a value that was manually selected by a user. |
| 3 | |
| 4 | This 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 | |
| 9 | CKEditor 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 | |
| 15 | The "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 | |