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

@ckeditor/ckeditor5-easy-image

Package Overview
Dependencies
Maintainers
0
Versions
757
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-easy-image

Easy Image feature for CKEditor 5.

  • 44.1.0-alpha.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
467K
increased by0.79%
Maintainers
0
Weekly downloads
 
Created

What is @ckeditor/ckeditor5-easy-image?

@ckeditor/ckeditor5-easy-image is a plugin for CKEditor 5 that simplifies the process of inserting images into the editor. It provides an easy-to-use interface for uploading images directly from the user's device or from a URL, and it integrates seamlessly with CKEditor's image handling capabilities.

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

Easy Image Upload

This feature allows users to upload images directly from their device to the editor. The code sample demonstrates how to configure the CKEditor with the EasyImage plugin and set up the necessary cloud services for image upload.

ClassicEditor.create(document.querySelector('#editor'), { extraPlugins: [ EasyImage ], cloudServices: { tokenUrl: 'https://example.com/cs-token-endpoint', uploadUrl: 'https://your-organization-id.cke-cs.com/easyimage/upload/' } })

Image Insertion from URL

This feature allows users to insert images into the editor from a URL. The code sample shows how to configure the CKEditor with the EasyImage plugin and use the uploadImage method to insert an image from a URL.

ClassicEditor.create(document.querySelector('#editor'), { extraPlugins: [ EasyImage ], cloudServices: { tokenUrl: 'https://example.com/cs-token-endpoint', uploadUrl: 'https://your-organization-id.cke-cs.com/easyimage/upload/' } }).then(editor => { editor.plugins.get('EasyImage').uploadImage('https://example.com/image.jpg'); });

Other packages similar to @ckeditor/ckeditor5-easy-image

Keywords

FAQs

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