react-classic-editor
v1.0.0
Published
React-Classic-Editor adds a rudimentary text editor to your project
Downloads
2
Maintainers
Readme
React-Classic-Editor adds a rudimentary text editor to your project.
Installation
$ npm install --save react-classic-editor
$ yarn add react-classic-editor
Example
import React from 'react';
import { Editor } from 'react-classic-editor';
function App(){
var options = {
placeholder="Type something"
}
return (
<Editor {...options} />
);
}
This code will add a text editor to your web page.
Options
| Name | default | |--|--| | border | true | | showCount | false | | spellCheck | true | | toolbar | true | | autoFocus | true |
License
Licensed under MIT