Insert soft line breaks and page breaks in your document. Use line breaks to control text flow without creating new paragraphs. Page breaks force new pages when printing.

Types of breaks

  • Line Break - Moves to next line within same paragraph (Shift+Enter)
  • Page Break - Forces content to start on new page when printing

Why you’d use this

  • Address formatting - Multiple lines without paragraph spacing
  • Poetry/verses - Maintain line structure without gaps
  • Print control - Start chapters or sections on new pages

Options

Configure the extension behavior:
htmlAttributes
Object
HTML attributes for the break element
Usage:
LineBreak.configure({
  resizable: false,
  cellMinWidth: 50
})

Commands

insertLineBreak

Insert a line break
Creates a soft break within the same paragraph
insertLineBreak()

insertPageBreak

Insert a page break
Forces content to start on a new page when printed
insertPageBreak()