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:
editor.execCommand('insertLineBreak');
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:
editor.execCommand('insertLineBreak');