Socket
Book a DemoInstallSign in
Socket

@ckeditor/ckeditor5-enter

Package Overview
Dependencies
Maintainers
1
Versions
1139
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.

0.0.0-nightly-20250205.0
Source
npmnpm
Version published
Maintainers
1
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

ckeditor

FAQs

Package last updated on 05 Feb 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.