Infomaniak/swift-rich-html-editor

macOS: Link opening in the editor itself

Opened this issue · 3 comments

I have developed a macOS application where I've integrated the link functionality using the openLink() function. Currently, links are opened within a WebView, but I intend to modify this behavior so that the links open in a separate browser instead.

Hi @sandeep-singsys, thanks for your issue.
I'm not sure I understand. Could you tell me more about your problem?

Hi @valentinperignon
I have added a new link using
textAttributes.addLink(url: <#T##URL#>, text: <#T##String?#>)
but when I tried to open the added link,
It was not opening in any browser, instead it is opening within the editor view
Screenshot 2024-08-30 at 2 31 47 PM

Thanks for your feedback. We will investigate and get back to you later!