Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@ckeditor/ckeditor5-alignment
Advanced tools
@ckeditor/ckeditor5-alignment is a plugin for CKEditor 5 that allows you to align text within the editor. It provides a user-friendly interface for aligning text to the left, center, right, or justify.
Left Alignment
This feature allows you to align text to the left. The code sample demonstrates how to configure the editor to include only the left alignment option.
ClassicEditor.create(document.querySelector('#editor'), { alignment: { options: ['left'] } })
Center Alignment
This feature allows you to align text to the center. The code sample shows how to configure the editor to include only the center alignment option.
ClassicEditor.create(document.querySelector('#editor'), { alignment: { options: ['center'] } })
Right Alignment
This feature allows you to align text to the right. The code sample demonstrates how to configure the editor to include only the right alignment option.
ClassicEditor.create(document.querySelector('#editor'), { alignment: { options: ['right'] } })
Justify Alignment
This feature allows you to justify text. The code sample shows how to configure the editor to include only the justify alignment option.
ClassicEditor.create(document.querySelector('#editor'), { alignment: { options: ['justify'] } })
Multiple Alignments
This feature allows you to provide multiple alignment options. The code sample demonstrates how to configure the editor to include left, center, right, and justify alignment options.
ClassicEditor.create(document.querySelector('#editor'), { alignment: { options: ['left', 'center', 'right', 'justify'] } })
Quill is a modern WYSIWYG editor built for compatibility and extensibility. It provides text alignment options similar to @ckeditor/ckeditor5-alignment, but it is a different editor with its own set of plugins and configuration options.
TinyMCE is a popular rich text editor that offers a wide range of features, including text alignment. It is similar to @ckeditor/ckeditor5-alignment in terms of functionality but is a different editor with its own ecosystem and plugins.
Froala Editor is a lightweight WYSIWYG HTML Editor written in JavaScript that enables rich text editing capabilities, including text alignment. It is comparable to @ckeditor/ckeditor5-alignment but is a different editor with its own set of features and plugins.
This package implements text alignment support for CKEditor 5.
Check out the demo in the text alignment feature guide.
See the @ckeditor/ckeditor5-alignment
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
Text alignment feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-alignment receives a total of 194,651 weekly downloads. As such, @ckeditor/ckeditor5-alignment popularity was classified as popular.
We found that @ckeditor/ckeditor5-alignment 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.