Page tree
Skip to end of metadata
Go to start of metadata

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', '●');
  • No labels