Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

캐럿이 위치한 곳에 Page Break(인쇄시 사용되는 페이지 구분자)를 삽입합니다.

문단 사이에 캐럿이 위치한 경우 문단을 나누고 그 사이에 Page Break를 삽입합니다.

...

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:

Code Block
languagejs
themeEmacs
editor.execCommand('insertPageBreak');

...