JSPM

react-medium-editor-2

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q28446F
  • License MIT

React wrapper to medium editor js library

Package Exports

  • react-medium-editor-2

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-medium-editor-2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-medium-editor-2

React wrapper to medium editor js library

NPM JavaScript Style Guide

Install

npm install --save react-medium-editor-2

Then install the mandatory editor scripts

<script src="//cdn.jsdelivr.net/npm/medium-editor@latest/dist/js/medium-editor.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/medium-editor@latest/dist/css/medium-editor.min.css" type="text/css" media="screen" charset="utf-8">

Usage

import React, { Component } from 'react'

import Editor from 'react-medium-editor-2'

function Component {
    return (
      <Editor className="unique_and_mandatory_class_name"/>
    )
}

License

MIT © aesher9o1