Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@ckeditor/ckeditor5-basic-styles
Advanced tools
@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.
See the @ckeditor/ckeditor5-basic-styles
package page in CKEditor 5 documentation.
Licensed under the GPL, LGPL and MPL licenses, at your choice. For full details about the license, please check the LICENSE.md
file.
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
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.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.