Skip to main content

Advanced List

Plugin alias: advlist

editor42.init({
plugins: 'advlist lists'
});

Extends the built-in Lists plugin with advanced list style type controls. Adds split buttons to the toolbar that let users pick specific ordered and unordered list styles such as lower-alpha, upper-roman, circle, square, and more. Requires the lists plugin to be loaded.

Options​

OptionTypeDefaultDescription
advlist_number_stylesstring[]['default', 'lower-alpha', 'lower-greek', 'lower-roman', 'upper-alpha', 'upper-roman']Available ordered list style types in the dropdown.
advlist_bullet_stylesstring[]['default', 'circle', 'square']Available unordered list style types in the dropdown.

Commands​

CommandDescription
ApplyUnorderedListStyleApplies a specific list-style-type to an unordered list. Value: { 'list-style-type': string }
ApplyOrderedListStyleApplies a specific list-style-type to an ordered list. Value: { 'list-style-type': string }

Toolbar buttons​

NameTypeDescription
numlistSplit buttonNumbered list with style dropdown (toggle button if only one style is configured)
bullistSplit buttonBullet list with style dropdown (toggle button if only one style is configured)