Page tree

Versions Compared

Key

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

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

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

셀렉션 상태인 경우 셀렉션 구간을 제거한 후 Page Break를 삽입합니다.


Parameters:

NameTypeDescription
actionNameString액션 이름


Example:

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