This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

aekstrom-react-medium-editor

1.1.0 • Public • Published

aekstrom-react-medium-editor

The javascript medium-editor package but in React but its in ES6 and it works.

Installation

From npm

npm install aekstrom-react-medium-editor

And then

import MediumEditor from 'aekstrom-react-medium-editor'

Dependencies

This package needs medium-editor installed (https://www.npmjs.com/package/medium-editor) and that package is listed as a dependency.

Usage

<MediumEditor
	text={ this.props.text }
	onChange={ this.props.onChange }
	options={ ...medium-editor options} 
/>

Styling

I've included a template in SASS that is a direct copy of the "Bootstrap" theme provided by medium-editor and the required style rules for the editor to function.

Package Sidebar

Install

npm i aekstrom-react-medium-editor

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • aekstrom