react-ckeditor5-classic
How to install?
npm i react-ckeditor5-classic
How to use?
import React Component from 'react';import ReactCKEditor from 'react-ckeditor5-classic'; { console; } { return <div ="App"> <h2>Using CKEditor 5 build in React</h2> <ReactCKEditor ='example' = = /> </div> ; } ;
API
props
name | type | default | description |
---|---|---|---|
name | string | editor | Object to init |
onChange | function | ||
config | object | height: '300px' width: 'auto' | CKEditor config |
License
react-ckeditor5-classic is released under the MIT license.