You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
캐럿이 위치한 문단에 글머리 번호를 설정합니다.
문단을 셀렉션한 경우 셀렉션한 모든 문단에 글머리 번호를 설정합니다.
Parameters:
Name | Type | Description |
---|
actionName | String | 액션 이름 |
format | String | - 'decimal': 1. 2. 3. ....
- 'decimalEnclosedCircle': ① ② ③ ...
- 'upperLetter': A. B. C. ...
- 'lowerLetter': a. b. c. ...
- 'upperRoman': I. II. III. ...
- 'lowerRoman' i. ii. iii. ...
- 'ganada': 가. 나. 다. ...
- 'chosung': ㄱ. ㄴ. ㄷ. ...
|
Example:
editor.execCommand('setNumberedList', 'decimal');
editor.execCommand('setNumberedList', 'decimalEnclosedCircle');
editor.execCommand('setNumberedList', 'ganada');