Recent searches


No recent searches

How to pass HTML line breaks with



Posted Aug 16, 2024

Hey all,

 

We have an AI customer support app in the Zendesk marketplace.

 

One of the features of this app is to insert an answer drafted by AI (using knowledge from your help docs) into the editor.

 

The code we're using is:

client.invoke("ticket.editor.insert", answer);

My understanding is that HTML can be passed into this, which is fine and working for links, bold, italics, etc.

But, I can't find any way to pass in a line break e.g. <br>

Has anyone else come across this or managed to solve this?


0

0

0 comments

Please sign in to leave a comment.

Didn't find what you're looking for?

New post