@ajite/editorjs-image-base64

Upload Image in base64 in Editor.js

Usage no npm install needed!

<script type="module">
  import ajiteEditorjsImageBase64 from 'https://cdn.skypack.dev/@ajite/editorjs-image-base64';
</script>

README

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