1.0.3 • Published 5 years ago
@batformat/multi-attaches v1.0.3
Multi attaches Tool
Multi attaches Tool for the Editor.js.
This tool allows you to attach files to your articles.

Get the package
You can get the package using any of these ways.
Install via npm
npm i --save-dev @batformat/multi-attachesInclude module at your application
const MultiAttachesTool = require('@batformat/multi-attaches');Download to your project's source dir
- Upload folder distfrom repository
- Add dist/bundle.jsfile to your page.
Usage
Add a new Tool to the tools property of the Editor.js initial config.
var editor = EditorJS({
  ...
  tools: {
    ...
    multiAttaches: {
      class: MultiAttachesTool,
      config: {
        endpoint: 'http://localhost:8008/uploadFile'
      }
    }
  }
  ...
});