Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add plain text dynamically? #129

Open
jomadecena opened this issue Apr 28, 2020 · 1 comment
Open

How to add plain text dynamically? #129

jomadecena opened this issue Apr 28, 2020 · 1 comment

Comments

@jomadecena
Copy link

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

@jaikantshikray
Copy link

any update ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants