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

@ckeditor/ckeditor5-essentials

Package Overview
Dependencies
Maintainers
1
Versions
714
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-essentials

Essential editing features for CKEditor 5.

  • 38.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
408K
decreased by-19.54%
Maintainers
1
Weekly downloads
 
Created

What is @ckeditor/ckeditor5-essentials?

@ckeditor/ckeditor5-essentials is a package that provides essential features for CKEditor 5, a modern JavaScript rich text editor. It includes basic functionalities such as undo, redo, and clipboard support, which are fundamental for any text editing experience.

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

Undo

This feature allows users to undo and redo their actions within the editor. The code sample demonstrates how to include the Essentials plugin in a CKEditor 5 instance and add undo/redo buttons to the toolbar.

import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';

ClassicEditor
    .create( document.querySelector( '#editor' ), {
        plugins: [ Essentials ],
        toolbar: [ 'undo', 'redo' ]
    } )
    .catch( error => {
        console.error( error );
    } );

Clipboard

This feature provides clipboard support, allowing users to copy, cut, and paste content within the editor. The code sample shows how to configure the CKEditor 5 instance to include clipboard functionalities.

import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';

ClassicEditor
    .create( document.querySelector( '#editor' ), {
        plugins: [ Essentials ],
        toolbar: [ 'copy', 'cut', 'paste' ]
    } )
    .catch( error => {
        console.error( error );
    } );

Other packages similar to @ckeditor/ckeditor5-essentials

Keywords

FAQs

Package last updated on 23 May 2023

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