Since the new IDE version. The selection of Elements in the browser, which injects them into the chat still works. But now copying them from a chat to another, turns them into raw HTML, instead of their “tag” approach that was perfectly fine. Now my agent is tripping and fails to properly retrieve the exact/specific element i was targetting.
Steps to Reproduce
Copy a selected Element tag from a chat to another. (Text input)
Expected Behavior
The tag copies perfectly as in the initial chat input field in which it was injected.
Hey, thanks for the report and screenshot. I can see the difference between the chips in the sent message at the top and the expanded DOM path/HTML that gets pasted into the composer.
This is a known issue we’re already tracking. In the in-editor chat, copying from an already sent message only carries over plain text, so element tags get expanded into the full DOM path and HTML when pasted into another chat. This isn’t related to your setup.
Current workarounds:
Copy the tags from the chat input before sending the message. When copying between input fields, the tags stay as tags.
Copy and paste in the Agents Window top button in the chat panel. There, tags copied from new chats stay as tags.
Or just run Select Element again in the new chat to add the element directly.
Can you confirm whether you copied it from an already sent message and not from the input field? That’ll help us match it exactly to the issue we’re tracking. There’s no timeline yet, but I’ll post here when there’s an update.
I can confirm that the issue occurs when copying element references from an already-sent message, regardless of whether they’re pasted into an existing conversation or a newly created Chat/Agent session.
As an additional suggestion, it might be worth considering having Select Element always insert the reference at the current caret position in the active chat composer, rather than depending on which message or context was previously targeted. I believe this would make the workflow more predictable and intuitive, particularly when working across multiple conversations.
Of course, that’s more of a usability preference than a requirement for resolving the underlying issue.
Thanks again for the quick response and for tracking this!
Thanks for checking. That means this is the exact issue we’re tracking. I’ve added your details too, including that it happens when pasting into both an existing chat and a new chat. For now, it’s best to copy the tags from the input field before sending, or add the item again with Select Element in a new chat.
About inserting at the caret position, there’s already a feature request for that. Here are similar threads: