RichTextView
RichTextView copied to clipboard
Doubt/Question — Update text parsing, while writing
What is the purpose of your issue?
- [ ] Bug
- [x] Question
- [x] Other
Description
Hello,
I have a doubt that I'm looking forward to get some help 🙏🏻
I have added the RichTextView to my ViewController
and passed in the input string and it works properly.
I have also set the isEditable
property to true
.
My question comes: how can I update the content (properly parsed) as I'm writing?
I have added the richText.update(input:_)
within the textViewDidChange
to be as the textView.text
, but the view seems to lag/stuck!? and the view doesn't update itself.
Is there any way to achieve this?
Hello, That should be the correct way to update a RichTextView's text. There are many other optional parameters in the update method that are set to nil, one of them being a completion block that might help or give some clues.