Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@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.
See the @ckeditor/ckeditor5-paragraph
package page in CKEditor 5 documentation.
npm install ckeditor5
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.
43.2.0 (October 2, 2024)
We are happy to announce the release of CKEditor 5 v43.2.0.
ckeditor5
and ckeditor5-premium-features
indexesAs users transition to new installation methods (v42.0.0+) with ckeditor5
and ckeditor5-premium-features
as the main packages, we are continuously addressing missing imports for less common classes, functions, types, and utilities, broadening their availability. Since our TypeScript rewrite (v37.0.0), imports can now be made directly through the package indexes, simplifying integration. As many users historically imported from src
, we encourage you to try the new version and report any missing imports. In the future, we are considering removing src
from published packages to reduce package size, so the more feedback we receive, the better and more stable API we will provide.
usePassive
option to DomEventObserver
that enables listening to passive events. Closes #16412. (commit)CKBox
no longer changes and reinserts them simultaneously. Closes #17056. (commit)model-nodelist-offset-out-of-bounds
error. See #9296. (commit)model-nodelist-offset-out-of-bounds
error. See #9296. (commit)z-index
ordering. (commit)z-index
ordering. (commit)AttributeCommand
class. Closes #17105. (commit)ckeditor5
package as peerDependencies
.Check out the Versioning policy guide for more information.
<details> <summary>Released packages (summary)</summary>Releases containing new features:
Other releases:
FAQs
Paragraph feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-paragraph receives a total of 459,191 weekly downloads. As such, @ckeditor/ckeditor5-paragraph popularity was classified as popular.
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 0 open source maintainers 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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.