0.0.2 • Published 3 years ago

@ajite/editorjs-image-base64 v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

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