@mainly/imagetool
v1.0.2
Published
A image file upload tool for editor js, inpired by editorJs official package
Downloads
1
Readme
Image Tool
Image Block for the Editor.js. Inspired from official package
Features
- Uploading file from the device
- Pasting copied content from the web
- Pasting images by drag-n-drop
- Pasting files and screenshots from Clipboard
- Allows stretching an image to the container's full-width
Notes
This Tool requires server-side implementation for the file uploading. See backend response format for more details.
This Tool is also capable of uploading & displaying video files using the element. To enable this, specify video mime-types via the 'types' config param.
Installation
Install via NPM
Get the package
npm i --save-dev @mainly/imagetool
Include module at your application
import ImageTool from "@mainly/imagetool";
Usage is as same as EditorJs image tool.