0.1.4 • Published 10 months ago

@fudgi-packages/editorjs-simple-image v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

npm.io

Simple Image Tool

Provides Image Blocks for the Editor.js. Based on https://github.com/editor-js/simple-image and https://github.com/editor-js/simple-image-tutorial/tree/master

Works with pasted images, inserting images via toolbox. Converts image at BASE 64

npm.io npm.io

Installation

Get the package

yarn add @fudgi-packages/editorjs-simple-image
npm i @fudgi-packages/editorjs-simple-image

Include module at your application

import SimpleImage from "@fudgi-packages/editorjs-simple-image";

Usage

Add a new Tool to the tools property of the Editor.js initial config.

var editor = EditorJS({
  ...

  tools: {
    ...
    image: SimpleImage,
  }

  ...
});

Config Params

This Tool has no config params

{
  "type": "image",
  "data": {
    "url": "https://www.tesla.com/tesla_theme/assets/img/_vehicle_redesign/roadster_and_semi/roadster/hero.jpg",
    "caption": "Roadster // tesla.com"
  }
}
0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago