Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

캐럿이 위치한 문단에 글머리 기호를 설정합니다.

...

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:

Code Block
languagejs
themeEmacs
editor.execCommand('setBulletList', '-'); // '-' 모양 글머리 기호
editor.execCommand('setBulletList', '●'); // '●' 모양 글머리 기호