Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-enter

Package Overview
Dependencies
13
Maintainers
1
Versions
505
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ckeditor/ckeditor5-enter

Enter feature for CKEditor 5.


Version published
Weekly downloads
568K
increased by3.9%
Maintainers
1
Install size
5.31 MB
Created
Weekly downloads
 

Package description

What is @ckeditor/ckeditor5-enter?

@ckeditor/ckeditor5-enter is a plugin for CKEditor 5 that handles the 'Enter' key behavior in the editor. It provides functionality for handling new lines and paragraphs when the 'Enter' key is pressed, ensuring a consistent and expected user experience.

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

Handling Enter Key for New Paragraphs

This feature allows the editor to create a new paragraph when the 'Enter' key is pressed. The Enter plugin is included in the editor configuration to handle this behavior.

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

Soft Line Breaks

This feature allows the editor to insert a soft line break (a new line within the same paragraph) when 'Shift+Enter' is pressed. The ShiftEnter plugin is included alongside the Enter plugin to handle this behavior.

ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Enter, ShiftEnter ] })

Other packages similar to @ckeditor/ckeditor5-enter

Readme

Source

CKEditor 5 enter feature

npm version Coverage Status Build Status

This package implements the Enter and Shift+Enter (soft break) support for CKEditor 5.

Documentation

See the @ckeditor/ckeditor5-enter package page in CKEditor 5 documentation.

License

Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file or https://ckeditor.com/legal/ckeditor-oss-license.

Keywords

FAQs

Last updated on 31 Aug 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc