react-native-cn-richtext-editor icon indicating copy to clipboard operation
react-native-cn-richtext-editor copied to clipboard

How to add plain text dynamically?

Open jomadecena opened this issue 4 years ago • 1 comments

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

jomadecena avatar Apr 28 '20 09:04 jomadecena

any update ?

jaikantshikray avatar Jan 07 '21 03:01 jaikantshikray