mirror of
https://github.com/strapi/strapi.git
synced 2025-12-19 11:13:58 +00:00
19 lines
267 B
JavaScript
19 lines
267 B
JavaScript
|
|
/**
|
||
|
|
*
|
||
|
|
* WysiwygEditor
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
|
||
|
|
import React from 'react';
|
||
|
|
import { Editor } from 'draft-js';
|
||
|
|
|
||
|
|
class WysiwygEditor extends React.Component {
|
||
|
|
render() {
|
||
|
|
return (
|
||
|
|
<Editor {...this.props} ref={this.props.setRef}/>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
export default WysiwygEditor;
|