Opened 14 years ago

Last modified 14 years ago

#6157 confirmed Bug

Styles not selected correctly in the Combobox

Reported by: Michael G. Schneider Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4 Beta
Keywords: Cc:

Description (last modified by Frederico Caldeira Knabben)

With CKEditor v3.4b, Windows 7, IE8 or FF3.6 or Chrome 5. Suppose you use the following styleset

{ name : 'normal', element : 'p' },
{ name : 'normal/red', element : 'p' , attributes: { "class": "red" }}

Select the "normal/red" style with the help of the combobox. After that move the cursor away, and then click on the previously modified paragraph again. Now the combobox will select the "normal" and not the "normal/red".

It seems as if CKEditor selects the first style that matches the HTML element, not regarding the class name.

Change History (2)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Description: modified (diff)

comment:2 Changed 14 years ago by Frederico Caldeira Knabben

Status: newconfirmed

Block styles should be fully matched. In the reported tc, we should have it in a way that "normal" is selected only when inside a <p> with no attributes, while "normal/red" is to be selected when in a <p> with the class="red" attribute *exclusively*.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy