Insert page break at the caret position.
When the caret is positioned within a paragraph, the paragraph is divided and page break is inserted.
When there is a selection, the selected block is deleted and page break is inserted.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String | 'insertPageBreak' page break inserting API |
Example:
editor.execCommand('insertPageBreak');