Open ammichael opened 8 years ago
Hello!
First, congrats for this awesome job. It is the best editor I've seen, and it is exactly what I'm looking for (:
I installed, imported and tried to use without success. What are the required props?
Here is my code:
import RichEditor from 'draft-wysiwyg' import {RichUtils} from 'draft-js'; constructor(props){ super(props); this.state = { textoState: '', } } handleChangeTexto = (text) => { this.setState({textoState: text}); } render(){ return( <RichEditor onChange={data=>this.handleChangeTexto(data)} value={''} cleanupTypes="*" sidebar={0}/> ) }
What am I missing? =(
@ammichael Excuse me,do you know how to use it now?i meet the same problem,do you have any solution
@ohmyauthentic I don't.. I gave up trying
Hello!
First, congrats for this awesome job. It is the best editor I've seen, and it is exactly what I'm looking for (:
I installed, imported and tried to use without success. What are the required props?
Here is my code:
What am I missing? =(