Opened 14 years ago
Closed 12 years ago
#8125 closed Bug (duplicate)
'font size' and 'font name' are wrongly applied to selected text in XHTML sample
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.2.2 |
Keywords: | Cc: |
Description
- Open XHTML sample in any browser
- Select sample text with a mouse
- Choose size ‘Double' from font-size combo
- Now choose font size ‘Smaller’ - you will see that text gets smaller but not as small as it normally does. What is more the ‘Double’ option in font-size is still selected.
- Choose font size ‘8pt’ and then ‘14pt’ you will see no change of the font size. What is more the ‘Double’ option in font-size is still selected.
- Now deselect the ‘Double’ option. You will see that ‘Smaller’ will be selected.
- Deselecting ‘Smaller’ causes ‘8pt’ to get selected
- Deselecting ‘8pt’ causes ‘14pt’ to get selected.
- The same thing is applicable for font name combo
This issue is reproducible from CKEditor 3.2.2.
In CKE 3.2.1 you could select font-size or font-name only once. After that no matter what you click font size or name won’t change.
Change History (3)
comment:2 Changed 14 years ago by
Status: | new → confirmed |
---|
comment:3 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
This is actually a duplicate of #7498
Here is HTML code produced by CKE:
As you can see, new font sizes/names are added instead of being replaced.
Every time you click currently selected item from combo box (most inner span) its span representation will get removed and next most inner span in line will take its place.