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-indent
Advanced tools
@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.
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
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.