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-basic-styles
Advanced tools
Basic styles feature for CKEditor 5.
@ckeditor/ckeditor5-basic-styles is a package that provides basic text styling features for CKEditor 5. It includes functionalities such as bold, italic, underline, and strikethrough text formatting.
Bold
This feature allows you to apply bold formatting to the selected text in the editor.
import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ Bold, ... ],
toolbar: [ 'bold', ... ]
} )
.catch( error => {
console.error( error );
} );
Italic
This feature allows you to apply italic formatting to the selected text in the editor.
import Italic from '@ckeditor/ckeditor5-basic-styles/src/italic';
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ Italic, ... ],
toolbar: [ 'italic', ... ]
} )
.catch( error => {
console.error( error );
} );
Underline
This feature allows you to apply underline formatting to the selected text in the editor.
import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline';
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ Underline, ... ],
toolbar: [ 'underline', ... ]
} )
.catch( error => {
console.error( error );
} );
Strikethrough
This feature allows you to apply strikethrough formatting to the selected text in the editor.
import Strikethrough from '@ckeditor/ckeditor5-basic-styles/src/strikethrough';
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ Strikethrough, ... ],
toolbar: [ 'strikethrough', ... ]
} )
.catch( error => {
console.error( error );
} );
Quill is a modern WYSIWYG editor built for compatibility and extensibility. It provides similar basic text styling features such as bold, italic, underline, and strikethrough, but also includes more advanced features and a different API structure compared to @ckeditor/ckeditor5-basic-styles.
TinyMCE is a popular rich text editor that offers a wide range of text formatting options, including basic styles like bold, italic, underline, and strikethrough. It is highly customizable and provides a robust set of features similar to @ckeditor/ckeditor5-basic-styles.
Draft.js is a framework for building rich text editors in React. It provides basic text styling features and allows for extensive customization and extension. While it offers similar functionalities to @ckeditor/ckeditor5-basic-styles, it is more focused on providing a flexible API for developers to build custom editors.
This package contains CKEditor 5 features allowing to apply basic text formatting such as bold, italic, underline, and code in CKEditor 5.
Check out the demo in the basic styles feature guide.
See the @ckeditor/ckeditor5-basic-styles
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
Basic styles feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-basic-styles receives a total of 208,347 weekly downloads. As such, @ckeditor/ckeditor5-basic-styles popularity was classified as popular.
We found that @ckeditor/ckeditor5-basic-styles 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.