Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ckeditor/ckeditor5-enter

Package Overview
Dependencies
Maintainers
1
Versions
707
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-enter

Enter feature for CKEditor 5.

  • 32.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
289K
decreased by-51.75%
Maintainers
1
Weekly downloads
 
Created

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

Keywords

FAQs

Package last updated on 31 Jan 2022

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