Replace hyperlink with new RTF?
Posted: Tue Jun 17, 2025 4:42 pm
Still evaluating...
I have a case where a user clicks on a hyperlink which causes me to prompt a user on what they want to do. In one case I just replace the current item text with the user's text selection. In another case, I need to completely replace the hyperlink with user selected RTF.
I can't figure out how to delete the hyperlink the user clicked on, positioning the caret at the start of where the hyperlink was, then inserting the new RTF (the inserting is easy, the delete and positioning eludes me).
Thanks for any guidance, and sorry for missing something I should have found in your demos and Help documentation.
Eric
I have a case where a user clicks on a hyperlink which causes me to prompt a user on what they want to do. In one case I just replace the current item text with the user's text selection. In another case, I need to completely replace the hyperlink with user selected RTF.
I can't figure out how to delete the hyperlink the user clicked on, positioning the caret at the start of where the hyperlink was, then inserting the new RTF (the inserting is easy, the delete and positioning eludes me).
Thanks for any guidance, and sorry for missing something I should have found in your demos and Help documentation.
Eric