Opened 14 years ago

Closed 14 years ago

#7104 closed Bug (duplicate)

Displayed active style is incomplete

Reported by: anrikun Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc:

Description

When defining these styles:

  {name: 'P', element: 'p'},
  {name: 'P + myclass', element: 'p', attributes: {'class': 'myclass'}}

Selecting P + myclass from styles combo box works as expected. But the displayed active style is "P" instead of "P + myclass".

Change History (2)

comment:1 Changed 14 years ago by anrikun

Keywords: Needs documentation added

Actually, I've just discovered a workaround by writing:

  {name: 'P', element: 'p', attributes: {'class': ''}},
  {name: 'P + myclass', element: 'p', attributes: {'class': 'myclass'}}

This should be documented.

comment:2 Changed 14 years ago by Sa'ar Zac Elias

Keywords: Needs documentation removed
Resolution: duplicate
Status: newclosed

Dup of #6948.

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