react-native-cn-richtext-editor
react-native-cn-richtext-editor copied to clipboard
How to add plain text dynamically?
Let's say I want a "Paste" button that will paste my "plain text" from the clipboard to the editor.
If I want to do it dynamically, the text can be found on the
onValueChanged(value) { value.text[0].content[n].text = my_paste_text }
where n denotes the line number
I could do it this way but it would replace the whole text line.
Motivation: I have set of options/choices that when a user click on an option, it will add a text dynamically on my text editor
any update ?