RemoveHyperlinks Action deletes entire text instead of only removing hyperlink
Posted: Fri Nov 21, 2025 7:41 am
Hello TRichView Support,
after running the RemoveHyperlinks action, both the hyperlink and its text are removed. I can reproduce this behavior in your RichViewActionTest demo.
Steps to reproduce:
Start the RichViewActionTest program. The sample text is displayed as expected. Select the hyperlink in the text and execute the RemoveHyperlinks action. → The hyperlink is removed, and the text appears with the default formatting. This works as intended. Now insert the link www.google.com and press Enter. It is correctly displayed as a hyperlink. Select this newly created hyperlink and run the RemoveHyperlinks action again. → This time, the entire text is deleted.
Is there a way to remove only the hyperlink without deleting the text?
after running the RemoveHyperlinks action, both the hyperlink and its text are removed. I can reproduce this behavior in your RichViewActionTest demo.
Steps to reproduce:
Start the RichViewActionTest program. The sample text is displayed as expected. Select the hyperlink in the text and execute the RemoveHyperlinks action. → The hyperlink is removed, and the text appears with the default formatting. This works as intended. Now insert the link www.google.com and press Enter. It is correctly displayed as a hyperlink. Select this newly created hyperlink and run the RemoveHyperlinks action again. → This time, the entire text is deleted.
Is there a way to remove only the hyperlink without deleting the text?