Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@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 450,323 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 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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.