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:

NameTypeDescription
actionNameString'setBulletList' bulleted list API
textString

bullets in list

'●', '○', '■', '◆' ... 


Example:

editor.execCommand('setBulletList', '-');
editor.execCommand('setBulletList', '●');