캐럿이 위치한 곳에서 <br>을 삽입합니다.
...
Insert <br> at the caret position.
When there is a selection, the selected block is deleted and <br> is inserted.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'insertLineBreak' line break API |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('insertLineBreak'); |
...