react-native-rich-editor
react-native-rich-editor copied to clipboard
How do I get entered text.
I wanted to just get the entered text input length. I don't see any function which I can call to extract that
we can get length of the entered text from the variable where we storing the text by using .length method, but if you want to get length without html tags, i used replace method to remove the tags while checking length eg: message.replace(/<[^>]*>/g, '').trim().length