1.0.2 • Published 5 years ago

@mainly/imagetool v1.0.2

Weekly downloads
34
License
ISC
Repository
github
Last release
5 years ago

npm.io

Image Tool

Image Block for the Editor.js. Inspired from official package

npm.io

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.