Opened 13 years ago

Closed 12 years ago

#7151 closed Bug (duplicate)

StylesCombo doesn't honor the bodyId configuration option

Reported by: alexk Owned by:
Priority: Normal Milestone:
Component: General Version: 3.5.1
Keywords: Cc:


The CKEDITOR.config.bodyId isn't applyed to the StylesCombo dialog. For that some styles are not applyed in the dropdown-selectors.

Steps to reproduce: 1) create a stylesheet that contains a style like: #somebodyid {

color: red;


2) in the configuration specify: bodyId: 'somebodyid', contentsCss: ''

3) add a stylesset to the editor: CKEDITOR.stylesSet.add( 'my_style', [ {

name : '', element : 'h1', attributes : { 'class' : 'red'} } } ]);

With this setup a element like <h1 class="red">hello</h1> will be rendered correctly in the editing area. But if you open then Sylescombo dropdown, the "preview" of the style won't be red as it should be.

Change History (1)

comment:1 Changed 12 years ago by Sa'ar Zac Elias

Resolution: duplicate
Status: newclosed

Closing this one as a dup of #7452, because it contains some more info.

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