캐럿이 위치한 문단에 글머리 기호를 설정합니다.
...
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:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('setBulletList', '-'); // '-' 모양 글머리 기호 editor.execCommand('setBulletList', '●'); // '●' 모양 글머리 기호 |