Skip to content

Line Height Plugin

Allows users to select the line height for the current selected paragraph.


Plugin options:

lineHeights
Object -
Set the line height for the current selected paragraph.
Default: {
Default: '',
Single: '1',
'1.15': '1.15',
'1.5': '1.5',
Double: '2'
}

Plugin methods:

lineHeight.apply (value)
returns: Object
Apply the given line height to selected text.
● value: The value of the line height to apply.
Type: String

Add Plugin to your code:

Plugin name: lineHeight

Plugin JS Script: ../js/plugins/line_height.min.js

Or from CDN https://cdn.jsdelivr.net/npm/[email protected]/js/plugins/line_height.min.js

Plugin CSS link:


Example :

● Change Line Height