Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@ckeditor/ckeditor5-paragraph
Advanced tools
@ckeditor/ckeditor5-paragraph is a plugin for CKEditor 5 that provides support for paragraph formatting. It allows users to create and manage paragraphs within the CKEditor 5 rich text editor, offering basic text formatting capabilities.
Basic Paragraph Creation
This feature allows users to create and manage paragraphs within the CKEditor 5 editor. The code sample demonstrates how to initialize CKEditor 5 with the Paragraph plugin.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Paragraph ], toolbar: [ 'paragraph' ] })
Custom Paragraph Configuration
This feature allows users to customize the paragraph options available in the toolbar. The code sample shows how to configure custom paragraph options.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Paragraph ], toolbar: [ 'paragraph' ], paragraph: { options: [ { model: 'paragraph', title: 'Paragraph', class: 'ck-paragraph' } ] } })
Quill is a modern WYSIWYG editor built for compatibility and extensibility. It provides similar paragraph formatting capabilities as @ckeditor/ckeditor5-paragraph but also includes a broader range of text editing features and a more flexible API.
TinyMCE is a popular rich text editor that offers comprehensive text formatting options, including paragraph management. It is similar to @ckeditor/ckeditor5-paragraph in terms of functionality but provides a more extensive set of plugins and customization options.
Draft.js is a JavaScript rich text editor framework, built for React. It provides similar paragraph formatting capabilities as @ckeditor/ckeditor5-paragraph but is designed to be highly customizable and extensible, making it suitable for complex text editing needs.
This package implements paragraph support for CKEditor 5.
This plugin is part of the ckeditor5
package. Install the whole package to use it.
npm install ckeditor5
If you want to check full CKEditor 5 capabilities, sign up for a free non-commitment 14-day trial.
See the @ckeditor/ckeditor5-paragraph
package page in CKEditor 5 documentation.
Licensed under a dual-license model, this software is available under:
For more information, see: https://ckeditor.com/legal/ckeditor-licensing-options.
44.1.0 (December 16, 2024)
We are pleased to announce the latest CKEditor 5 release, focusing on performance enhancements and key bug fixes to improve your editing and collaboration experience.
This release introduces another set of performance related improvements, focused on faster editor initialization for huge documents. The initialization time was lowered by further 15% to 45%, depending on the tested sample.
The combined improvements introduced in recent releases amount to around 65%-80% lower loading time in total, which means the editor will load 3-5x faster. As the gain is not linear, bigger documents see even better improvement (more than 10x faster).
Moreover, all these improvements positively impact document save time (editor.getData()
), which should help with autosave issues, among others.
We still actively work in this area, so you may expect even more editor load and save efficiency improvements in the upcoming releases.
showCommentHighlights
option in editor.getData()
, that changes the comment marker conversion, allowing for styling comments in the output. Perfect for showing what was commented in Export to PDF, for example.As the holiday season approaches, we extend our warmest wishes to our community and users. Thank you for your continued support, and we look forward to bringing you further enhancements and exciting features in the coming year.
FAQs
Paragraph feature for CKEditor 5.
We found that @ckeditor/ckeditor5-paragraph demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.