Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@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.
This plugin is part of the ckeditor5
package. Install the whole package to use it.
npm install ckeditor5
If you want to check full CKEditor 5 capabilities, sign up for a free non-commitment 14-day trial.
Check out the demo in the text alignment feature guide.
See the @ckeditor/ckeditor5-alignment
package page in CKEditor 5 documentation.
Licensed under a dual-license model, this software is available under:
For more information, see: https://ckeditor.com/legal/ckeditor-licensing-options.
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.
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.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.