Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@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 332,775 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.