selva24
selva24

Reputation: 21

custom settings in CKEditor config.js file

What are the custom settings i can do in CKEditor config.js file, I changed a few, config.font_defaultLabel = 'Arial'; what are the other settings i can do in config.js file? Please help me in this.

Upvotes: 2

Views: 5479

Answers (2)

AlfonsoML
AlfonsoML

Reputation: 12740

They are available in the documentation: check this

Upvotes: 0

Pachelbel
Pachelbel

Reputation: 41

Solution: It took me quite a while to figure this out. Let us say you want to use Verdana as the default font. Here is what you can do:

  1. Open contents.css and change the font tag:

    font-family: Verdana;

  2. In the application/page where the output will be published, add this style:

    .entry-content {font-family: Tahoma;}

That's it! Now you have change the default font successfully. This works for the font size as well.

Upvotes: 3

Related Questions