Forum Discussion
AustinTX98
Nov 16, 2024Copper Contributor
Copilot won't allow me to copy and paste HTML code into prompt
Yesterday I started observing an issue where I'm unable to copy and paste html into the prompt. I'm using Copilot for business. I've been able to replicate the issue across multiple browsers and rest...
phillip-caanz
Nov 21, 2024Copper Contributor
So I've found a work around involving the browser's inspector window.
- Write some dummy text into the prompt window.
- Right click on that text and select 'Inspect'
- Find the dummy text within the inspector window. It should be within a <span> tag.
- Double click the text so that you are editing only the text content and not the surrounding span or any other 'live' html.
- Make sure all your dummy text is highlighted and paste over it with your actual prompt including any html content.
- Click outside the window and you're done
Copilot still consumes the html content correctly when sent to its server, its just copilots UI/front-end that is removing the html content as you paste it in.