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.
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.