react-native-cn-richtext-editor
react-native-cn-richtext-editor copied to clipboard
How to access value from editor?
Thank you for creating this editor. I have successfully implemented this editor with limited toolbar functions.
I want to know that how to get value (text that we have typed) from editor. I have new in RN, have tried to get value but didn't get success. Could any one of you please help to resolve this issue, as I want to sent this text to server and then do further process.
Please please help me, After successful implementation I really don't want to stuck on this point.
any help appreciate. Thanks in advance.
You should use the onValueChanged prop of the CNRichTextEditor to listen for value changes and then store it your component state, just as the sample on the README.md