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
| Option | Type | Default | Description |
|---|---|---|---|
advlist_number_styles | string[] | ['default', 'lower-alpha', 'lower-greek', 'lower-roman', 'upper-alpha', 'upper-roman'] | Available ordered list style types in the dropdown. |
advlist_bullet_styles | string[] | ['default', 'circle', 'square'] | Available unordered list style types in the dropdown. |
Commands
| Command | Description |
|---|---|
ApplyUnorderedListStyle | Applies a specific list-style-type to an unordered list. Value: { 'list-style-type': string } |
ApplyOrderedListStyle | Applies a specific list-style-type to an ordered list. Value: { 'list-style-type': string } |
Toolbar buttons
| Name | Type | Description |
|---|---|---|
numlist | Split button | Numbered list with style dropdown (toggle button if only one style is configured) |
bullist | Split button | Bullet list with style dropdown (toggle button if only one style is configured) |