Interface method in Freshchat

Hi guys!

await client.interface.trigger("setValue", {
   id: "editor",
   value:  `<a target='_blank' href='${data}'>Link</a>`
})

Whenever I try to insert a link in the conversation editor box the text is created as “Link Link”.

For some reason the text is duplicated is there a proper way to insert text in the editor?

Thank you.

And I faced this same issue in Freshdesk too and after a while, we couldn’t replicate this issue.

Does anyone know why this is caused?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.