Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-page-break

Package Overview
Dependencies
Maintainers
0
Versions
596
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-page-break

Page break feature for CKEditor 5.


Version published
Weekly downloads
213K
increased by9.57%
Maintainers
0
Weekly downloads
 
Created

What is @ckeditor/ckeditor5-page-break?

@ckeditor/ckeditor5-page-break is a plugin for CKEditor 5 that allows users to insert page breaks into their content. This is particularly useful for content that will be printed or exported to PDF, as it helps to control the layout and pagination.

What are @ckeditor/ckeditor5-page-break's main functionalities?

Insert Page Break

This feature allows users to insert a page break into the content. The page break is represented by a horizontal line in the editor, and it ensures that the content following the break starts on a new page when printed or exported.

ClassicEditor.create(document.querySelector('#editor'), { plugins: [ PageBreak, ... ], toolbar: [ 'pageBreak', ... ] })

Custom Page Break Label

This feature allows users to customize the label of the page break. By default, the label is 'Page Break', but it can be changed to any custom text.

ClassicEditor.create(document.querySelector('#editor'), { plugins: [ PageBreak, ... ], toolbar: [ 'pageBreak', ... ], pageBreak: { label: 'My Custom Page Break' } })
0

Keywords

FAQs

Package last updated on 02 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc