@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

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i @ajite/editorjs-image-base64

    Weekly Downloads

    79

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    4.7 kB

    Total Files

    6

    Last publish

    Collaborators

    • ajite