README
react-medium-editor-2
React wrapper to medium editor js library
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