@ajite/editorjs-image-base64

0.0.2 • Public • Published

Base64 Image Upload

Add images in base64 in the editor instead of uploading to a server.

Install

npm install --save @ajite/editorjs-image-base64

Usage

import uploader  from '@ajite/editorjs-image-base64';

var editors = new EditorJS({
    autofocus: true,
    tools: {
        image: {
            class: ImageTool,
            config: {
                ...
                uploader
            }
        },
    },
});

Build

npm run build

Build for Dev

npm run build:dev

Package Sidebar

Install

npm i @ajite/editorjs-image-base64

Weekly Downloads

155

Version

0.0.2

License

MIT

Unpacked Size

4.7 kB

Total Files

6

Last publish

Collaborators

  • ajite