Opened 8 years ago

Closed 8 years ago

#8110 closed Task (invalid)

Default text size

Reported by: JoeMcFadden Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc:

Description

If I type 3 lines, and set the 1st to font size 12 and the 3rd to size 14, and leave the 2nd line alone:

This is font size 12 This is font size default This is font size 14

The 1st and 2nd look like the same size, and the 3rd looks bigger. (So, obviously the default size is 12 within the editor)

When I display the saved data in another web page, the 2nd and 3rd look like the same size, and the 1st looks smaller. (So, obviously the default size is 14 in any browser.)

How do I change the default font size to 14 in the editor, so that the input matches the output?

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Keywords: default font size removed
Resolution: invalid
Status: newclosed
Version: 3.6.1

You can set the font-size for the body in contents.css file. Additionally you can set fontSize_defaultLabel to 14 so that it showed the user what font-size you have used (This does not change font size in editor area).

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.fontSize_defaultLabel

For the future , if you are seeking advice, please use one of our forums instead of bug tracker.

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