Grab agent's current reply text

  • 29 June 2018
  • 0 replies
  • 32 views

Anyone know if it is possible to grab the text from the editor that an agent has typed before they submit the reply?


I have a custom app located in the "ticket_conversation_editor", and I can insert text into an agent's reply using this syntax:


client.interface.trigger("setValue", {id: "editor", text: "value", position: "end"});


However, I want to be able to pull the text or HTML content that the agent has typed so far in order to allow them to push it to an external endpoint. 


This would eliminate the need to tell the agent they need to copy their response to their clipboard before opening the custom app to then paste it into the provided textarea.



0 replies

Join the Group to Participate in this Discussion

Reply