
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@ckeditor/ckeditor5-indent
Advanced tools
Block indentation feature for CKEditor 5.
@ckeditor/ckeditor5-indent is a plugin for CKEditor 5 that provides indentation features for text content. It allows users to increase or decrease the indentation of paragraphs and list items, enhancing the text formatting capabilities of the editor.
Indent Paragraph
This feature allows users to indent paragraphs within the CKEditor 5 instance. The provided code sample demonstrates how to configure the editor to include the indent and outdent buttons in the toolbar.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [Indent, Paragraph], toolbar: ['indent', 'outdent'] })
Indent List Items
This feature enables users to indent list items, both bulleted and numbered, within the CKEditor 5 instance. The code sample shows how to set up the editor with list and indent functionalities.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [Indent, List], toolbar: ['bulletedList', 'numberedList', 'indent', 'outdent'] })
Quill is a modern WYSIWYG editor built for compatibility and extensibility. It provides similar indentation features through its built-in toolbar options. Compared to @ckeditor/ckeditor5-indent, Quill offers a more lightweight and flexible approach but may require additional configuration for advanced use cases.
TinyMCE is a popular rich text editor that includes comprehensive text formatting options, including indentation. It offers a robust set of features and plugins similar to CKEditor 5, making it a strong alternative for users looking for extensive customization and functionality.
This package implements block indentation support for CKEditor 5.
Check out the demo in the Block indentation feature guide.
See the @ckeditor/ckeditor5-indent
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
Block indentation feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-indent receives a total of 504,330 weekly downloads. As such, @ckeditor/ckeditor5-indent popularity was classified as popular.
We found that @ckeditor/ckeditor5-indent 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.