user_r user_r - 2 months ago 18x
Javascript Question

How to decrease the line height in ckeditor 4.4.5?

How can the default line-height be reduced on the ck-editor. It's little too high at the moment, since I have upgraded it to the version 4.4.5

Is there any property available to do this?


There is a file contents.css in the ckeditor library with the class .cke_editable with the line-height property set to 1.6. Update it with the value required. This will update the line-height in all the places its used in your application.

This is what i did.

    font-size: 13px;
    line-height: 1.0;