user_r user_r - 1 year ago 173
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?

Answer Source

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;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download