Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ckeditor/ckeditor5-basic-styles

Package Overview
Dependencies
Maintainers
1
Versions
756
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-basic-styles

Basic styles feature for CKEditor 5.

  • 0.0.0-nightly-20241206.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
579K
decreased by-4.85%
Maintainers
1
Weekly downloads
 
Created

What is @ckeditor/ckeditor5-basic-styles?

@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.

What are @ckeditor/ckeditor5-basic-styles's main functionalities?

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 );
    } );

Other packages similar to @ckeditor/ckeditor5-basic-styles

Keywords

FAQs

Package last updated on 06 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc