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:

listAdvancedTypes
Boolean -
Enables list advanced types for the bullets.

Default: true

Plugin methods:

lists.format (tag_name)
returns: Object
Format the selected paragraphs as a list.

● Tag_name: The type of the list to format. Possible values are: OL and UL.
Type: String

Commands:

formatOL Triggered when insertOrderedList command is executed.
formatUL Triggered when insertUnorderedList command is executed.

Add Plugin to your code:

Plugin name: lists

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

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

Plugin CSS link:


Example

● List Advanced type