캐럿이 위치한 곳에 블럭 레이어를 삽입합니다.
...
Insert block layer at the caret position.
When there is a selection, the selected block is deleted and the block layer is inserted.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 액션 이름'insertDiv' block layer inserting API |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('insertDiv'); |
...