musex-oembed

0.0.5 • Public • Published

Include module at your application

import OEmbed from "musex-oembed";

Usage

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

const editor = EditorJS({
  ...

  tools: {
    ...
    oembed: {
      class: OEmbed,
      config: {
        proxy: 'https://musex-cors.herokuapp.com/', // Your backend endpoint for url data fetching
      }
    }
  },

  ...
});

Readme

Keywords

none

Package Sidebar

Install

npm i musex-oembed

Weekly Downloads

1

Version

0.0.5

License

none

Unpacked Size

88.2 kB

Total Files

4

Last publish

Collaborators

  • poriacattus