New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ckeditor/ckeditor5-build-classic

Package Overview
Dependencies
Maintainers
0
Versions
842
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-build-classic

The classic editor build of CKEditor 5 – the best browser-based rich text editor.

  • 44.1.0
  • latest
  • staging
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created

What is @ckeditor/ckeditor5-build-classic?

@ckeditor/ckeditor5-build-classic is a ready-to-use build of CKEditor 5, a modern JavaScript rich text editor with a modular architecture. It provides a classic editor interface with a toolbar at the top and a large editing area. This package is designed to be easy to integrate into web applications and offers a wide range of features for content creation.

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

Basic Text Formatting

This code initializes the classic editor on an HTML element with the id 'editor'. It provides basic text formatting options like bold, italic, underline, and strikethrough.

ClassicEditor.create(document.querySelector('#editor')).catch(error => { console.error(error); });

Image Upload

This code initializes the editor with image upload functionality. The 'uploadUrl' specifies the server endpoint to handle image uploads.

ClassicEditor.create(document.querySelector('#editor'), { ckfinder: { uploadUrl: '/upload' } }).catch(error => { console.error(error); });

Table Creation

This code initializes the editor and programmatically creates a table within the editor. Users can also create and manipulate tables using the toolbar.

ClassicEditor.create(document.querySelector('#editor')).then(editor => { editor.plugins.get('Table').createTable(); }).catch(error => { console.error(error); });

Link Insertion

This code initializes the editor and programmatically inserts a link into the content. Users can also add links through the toolbar.

ClassicEditor.create(document.querySelector('#editor')).then(editor => { editor.plugins.get('Link').addLink('https://example.com'); }).catch(error => { console.error(error); });

Other packages similar to @ckeditor/ckeditor5-build-classic

Keywords

FAQs

Package last updated on 16 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