Line Height

Adds the functionality to set the line-height property of an element similar to the font-size.

Installation notes:

Adding custom  values for line-height:

if you want to add your own values for line-height, you can modify the CKEDITOR.config.line_height in config.js. Let's assume that you need line-height value in "em" other than default integers. So, all you need to do is to add this line in the config.js file:

config.line_height="1em;1.1em;1.2em;1.3em;1.4em;1.5em" ;

In this way, you'll have your custom values in dropdown and hence you can modify it accordingly.

Or if you want values in pixels, then:

config.line_height="1px;1.1px;1.2px;1.3px;1.4px;1.5px" ;

So, you can have any unit for line-height using this option. For more information on modifying the settings, you can refer this link


Adding new languages

Translate "Line Height" into your language using any translation tools.

  1. Create a new file and name it as yourLanguageCode.js, for eg: en.js for English, fr.js for French and put it inside lang folder.
  2. Copy this code and replace en and "Line Height" with your language code and the translation respectively:

CKEDITOR.plugins.setLang('lineheight','en', {
    title: 'Line Height'
} );


Note: Please review and rate this plugin. It will help other users before they use it.

If you still face any problems, feel free to clear it in the comments below or just head over to and make sure you tag proper keywords in your question. I will be glad to assist you.



92,382 downloads (view stats)


Plugin versions CKEditor versions
4.14 4.13 4.12

Version: 1.0.4

DownloadRelease notes

Added languages

Twitter Facebook Facebook Instagram Medium Linkedin GitHub Arrow down Phone Menu Close icon Check