Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@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.
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 basic styles feature guide.
See the @ckeditor/ckeditor5-basic-styles
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.
44.0.0 (December 2, 2024)
We are excited to introduce CKEditor 5 v44.0.0, a release packed with high impact updates designed to enhance your editing experience and simplify access to our premium offers. Here's whatβs new:
We are introducing flexible self-service plans that put you in control with full transparency. Now, you can:
π‘ Important for current users:
If you are upgrading to v44.0.0+, ensure a smooth transition by updating your license keys in the editor, as we implemented a new format of the key. To get the new key, visit the Customer Portal. You can also refer to our license key and activation guide for help with logging in to the portal.
π£ The open-source licensing remains unchanged. However, config.licenseKey
is now a required property in the editor configuration. Use 'GPL'
for installations under the GPL terms. Read more in the update guide.
Say hello to Bookmarks, a long-awaited feature that simplifies content navigation within the editor. With this release, you can:
π Future updates to Bookmarks and the linking experience are planned for the upcoming releases. Follow progress and share your feedback on GitHub.
The current release includes another stride towards improving the performance aspect of the editor, this time focusing on how tables are handled in the content. Implemented optimizations have made table rendering 3x faster, with the average load time of a document with a very long, complex tables dropping from around 4.5 seconds to just 1.5 seconds.
FAQs
Basic styles feature for CKEditor 5.
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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.