Ticket #3180 (closed Bug: fixed)

Opened 5 years ago

Last modified 13 months ago

Include content styling in the default distribution

Reported by: fredck Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Discussion Cc:

Description

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

comment:1 Changed 5 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 4 years ago by fredck

  • Milestone CKEditor 3.x deleted

Milestone CKEditor 3.x deleted

comment:3 Changed 13 months ago by Reinmar

  • Status changed from new to closed
  • Resolution set to fixed

We improved default styles in CKEditor 4.0.

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