Opened 12 years ago

Closed 8 years ago

#1120 closed Bug (wontfix)

FCK should load "Mediawiki:Common.css" and "Mediawiki:current_style.css" pages

Reported by: barns Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version:
Keywords: Cc:

Description

Most Mediawiki websites customize their CSS settings by editing the Mediawiki:XXX.css pages. Example at http://en.wikipedia.org/wiki/MediaWiki:Common.css.

To get correct rendering, FCK should also pre-load these pages, not only the "physical CSS files in the "skins" directory.

Change History (5)

comment:1 Changed 12 years ago by barns

Hum, apparently you are already doing this, but strangely enough, the "wikitable" class defined in my Common.css does not affect the color of table within FCK editor.

Any idea?

comment:2 Changed 12 years ago by Frederico Caldeira Knabben

Maybe Firebug can help you on debugging the styles applied to tables inside the editor. Give it a try and see the results. Let us know.

comment:3 Changed 12 years ago by barns

Confirmed, even though the code looks ok, the CSS files do not get loaded.

How to reproduce:

1) add the following to Common.css:

table.wikitable th {
  background: #f2f2f2;
  text-align: center;
}

2) Save and refresh your cache

3) add this class to a table in an article, the bgcolor should change

4) go in FCK, the color does not apply

If I add the same code to extensions/FCKeditor/css/fckeditor.css, it works fine.

comment:4 Changed 11 years ago by Artur Formella

Keywords: Confirmed added

comment:5 Changed 8 years ago by Krzysztof Studnik

Resolution: wontfix
Status: confirmedclosed

FCKEditor + MediaWiki is no longer supported. closing as expired

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy