Divide paragraph at the caret position.
When there is a selection, the selected block is deleted and the paragraph is divided.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'enter' paragraph dividing API |
Example:
editor.execCommand('enter');
Divide paragraph at the caret position.
When there is a selection, the selected block is deleted and the paragraph is divided.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'enter' paragraph dividing API |
Example:
editor.execCommand('enter');