Page tree
Skip to end of metadata
Go to start of metadata

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:

NameTypeDescription
actionNameString'insertPageBreak' page break inserting API


Example:

editor.execCommand('insertPageBreak');
  • No labels