Skip to content

Lists Plugin

Allows users to insert lists in the editor, not just the basic lists like numbers and bullets but also advanced types such as lower greek or upper roman.


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: lists

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

Or from CDN https://cdn.jsdelivr.net/npm/froala-editor@latest/js/plugins/lists.min.js

Plugin CSS link:


Example

● List Advanced type
File: 15726