Make the paragraph in which the caret is positioned a bulleted list.
When there is a selection, the selected paragraphs become a bulleted list.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'setBulletList' bulleted list API |
text | String | bullets in list '●', '○', '■', '◆' ... |
Example:
editor.execCommand('setBulletList', '-'); editor.execCommand('setBulletList', '●');