Days
Hours
Minutes
Seconds
x

New Froala Editor v5.0.0 is here โ€“ Learn More

Skip to content
Froala Documentation

Line Breaker Plugin

Plugins are fully functional during your trial once you've added your trial key to the setup.

Helper to insert a new paragraph between HTML elements where the cursor cannot be placed e.g. tables.


Plugin options:

lineBreakerHorizontalOffset
Number -
The distance in pixels from the left or right of an element at which to show the line-breaker.

Default: 10
lineBreakerOffset
Number -
The distance in pixels from the top or bottom of an element at which to show the line-breaker.

Default: 20
lineBreakerTags
Array -
The list of HTML tags between which the line-breaker should appear.

Default: ['table', 'hr', 'form', 'dl', 'span.fr-video', '.fr-embedly', '.fr-img-caption']

Add Plugin to your code:

Plugin name: lineBreaker

Plugin JS Script: ../js/plugins/line_breaker.min.js

Or from CDN https://cdn.jsdelivr.net/npm/froala-editor@latest/js/plugins/line_breaker.min.js

Plugin CSS link: ../css/plugins/line_breaker.min.css


Plugin CSS link https://cdn.jsdelivr.net/npm/froala-editor@latest/css/plugins/line_breaker.min.css


Example :

โ— Add Line Breaks

Ready to dive in? Explore our plans

Sign up

Download the code by signing up for our newsletter

Sign up

Download the code by signing up for our newsletter

Note: By registering, you confirm that you agree to the processing of your personal data by Froala, Inc. - Froala as described in the Privacy Statement. Froala, Inc. - Froala is part of the Idera group and may share your information with its parent company Idera, Inc., and its affiliates. For further details on how your data is used, stored, and shared, please review our Privacy Statement.