Copy/Paste Stripping Characters in Agent Workspace | Community
Skip to main content

Copy/Paste Stripping Characters in Agent Workspace

  • August 4, 2021
  • 4 replies
  • 0 views

Dan28

We are seeing some strange behavior around copy/pasting code over the last month on Agent Workspace.  Is anyone else seeing the following behaviors?

Content wrapped in angled brackets not preserved

This text when copied...

curl --cacert <path-to-your-cacert>

when pasted shows as:

curl --cacert

Indentation not preserved

This text when copied...

bar: |
this is not a normal string it
spans more than
one line
see?

when pasted shows as:

bar: |
this is not a normal string it
spans more than
one line
see?

I've also tried to get around this with an app writing using the various options in the Zendesk App Framework.

Adding the following comment using ZAF I get the following results: 

curl --cacert <path-to-your-cacert>    
bar: |
this is not a normal string it
spans more than
one line
see?

Sample code looks for each invoke action looks like this: 

append = () => {
let comment=document.getElementById("pending_comment").value;
client.invoke({ "comment.appendMarkdown": [comment], "app.close": [] });
};
curl --cacert <path-to-your-cacert> bar: | this is not a normal string it spans more than one line see?
curl --cacert bar: | this is not a normal string it spans more than one line see?
curl --cacert <path-to-your-cacert>

bar: |
this is not a normal string it
spans more than
one line
see?

4 replies

Heather13
  • August 5, 2021

Definitely a bug!


Molly11
  • October 25, 2021

Yes, this is a big pain! Is this a new bug? We just migrated to Agent Workspace and it's causing so many headaches. 


Molly11
  • November 18, 2021

We're also seeing that sometimes when a string is copied, it doesn't paste the full string - it'll cut off at, in this case, the ampersand. This happens whether using paste as plain text or not. 

The copied text:

The pasted text:


Amisha11
  • June 16, 2022

Hello All,

Thanks for providing feedback. Checking in!

Is this still an issue you're facing? Thanks!