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
@ckeditor/ckeditor5-image
@ckeditor/ckeditor5-image is another CKEditor 5 plugin that provides comprehensive image handling capabilities, including image resizing, alignment, and styling. While it does not offer the same simplified upload interface as @ckeditor/ckeditor5-easy-image, it provides more advanced image editing features.
react-dropzone
react-dropzone is a popular React component for handling file uploads, including images. It provides a drag-and-drop interface for uploading files and can be integrated with various image handling libraries. Unlike @ckeditor/ckeditor5-easy-image, it is not specific to CKEditor and requires additional configuration for image handling.
ngx-image-cropper
ngx-image-cropper is an Angular component for cropping images. It provides a user-friendly interface for selecting and cropping images before uploading them. While it does not offer direct integration with CKEditor, it can be used in conjunction with CKEditor to provide advanced image editing capabilities.
44.2.1 (February 20, 2025)
We are happy to announce the release of CKEditor 5 v44.2.1.
During a recent internal audit, we identified a cross-site scripting (XSS) vulnerability in the CKEditor 5 real-time collaboration package (CVE-2025-25299
). This vulnerability can lead to unauthorized JavaScript code execution and affects user markers, which represent users' positions within the document.
This vulnerability affects only installations with real-time collaborative editing enabled.
You can read more details in the relevant security advisory and contact us if you have more questions.
Bug fixes
- comments: Fixed a few scenarios for which creating a new comment thread was impossible (for example, when a selection was made on multiple table cells). This was a regression introduced in v44.2.0.
Other changes
Released packages
Check out the Versioning policy guide for more information.
<details>
<summary>Released packages (summary)</summary>
Other releases:
</details>