Opened 11 years ago

Closed 11 years ago

#10580 closed Bug (invalid)

Inherited styles for list of format/font/size

Reported by: Maciej Radzikowski Owned by:
Priority: Normal Milestone:
Component: General Version: 4.1
Keywords: Cc:

Description

  1. Please add to global CSS (e.g. style.css):
a { font-style:italic; }
  1. Add this stylesheet to CKEditor's config.js:
config.contentsCss = '/style.css';
  1. Click on Format / Font / Size button - you can see all items are italic.

Because the list is created by JS styles, .cke_reset{} in moono/editor.css file can do nothing, and I don't know where to add "font-style:normal" to fix it.

Also other font properties are inherited from general a tag (weight, size, ...).

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

If you have this in contents.css

a { font-style:italic; }

then add this class below anchor style style

.cke_panel_listItem a {
	font-style:normal;
}

NOTE: This can be check with Firebug.

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