Opened 8 years ago

Closed 4 years ago

#3180 closed Bug (fixed)

Include content styling in the default distribution

Reported by: Frederico Caldeira Knabben Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Discussion Cc:


The default editor installation already proposes some default styles to be used in the editing area. Those can be found at the contents.css file, which should be the file to get customized on editor installations, to reflect the final web site styles, giving a more WYSIWYG feeling.

Right now, we have included just font face, size and colors. But we could include further styles in that file by default, so creating text with the editor will look nicer inside of it, and would be more usable.

One of the example of it is the <blockquote> tag, which currently looks just like an indented paragraph. It would be nicer to have it look differently, helping understanding that that block is a quotation (#3179), and that it's different than a simple indentation.

There are other cases, like less used tags, like <kbd> and <code>, which could have better styling.

We do that with FCKeditor at sample14.html, with good results. Maybe it's the case to do that by default. After all, that CSS file must always be configured, so if one wants, s/he can just remove the unneeded rules.

Change History (3)

comment:1 Changed 8 years ago by Garry Yao

I would vote this feature since it has directly impact on the editing document consistency across browsers. Many tickets is requiring this feature, e.g. #3338, #3012.

comment:2 Changed 7 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

comment:3 Changed 4 years ago by Piotrek Koszuliński

Resolution: fixed
Status: newclosed

We improved default styles in CKEditor 4.0.

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