1.1.0 • Published 7 years ago

aekstrom-react-medium-editor v1.1.0

Weekly downloads
10
License
MIT
Repository
github
Last release
7 years ago

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.

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago