0.0.5 • Published 4 years ago
musex-oembed v0.0.5
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
      }
    }
  },
  ...
});