Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@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.
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 159,042 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.