Hello! This is my first time in a KodeKloud lab. I’m unable to cut/paste into the lab environment. I get the below error. Please help. Thank you.
Unable to read from the browser’s clipboard. Please make sure you have granted access for this website to read from the clipboard.
mmkmou
April 7, 2023, 2:49pm
#2
Hi @Mankanwal-Singh ,
Please consider using this link to see how to resolve this issue
# VSCode Integrated Editor
Most of the terraform labs and some others use a VSCode editor embedded in the browser for coding exercises. Opening the terminal and getting copy and paste to work can be a challenge!
This page sets out how to solve this issue. It will be expanded as information about other browsers and operating systems is gathered, however as with all labs, the recommended browser is Chrome.
* [Chrome Settings](#chrome-settings)
* [Open Terminal](#open-terminal)
* [Copy/Paste to Terminal](#copypaste-to-terminal)
* [The terminal I had open closed on me!](#the-terminal-i-had-open-closed-on-me)
Firstly, you must ensure that `kodekloud.com` and all subdomains have access to the clipboard.
## Chrome Settings
1. Open `Settings`
1. Navigate to `Privacy and Security` from the menu on the left
1. Click on `Site Settings`
1. Under `Permissions` (Location, Camera etc.), click on `Additional Permissions`
1. Find `Clipboard`
This file has been truncated. show original
Hello @mmkmou
I appreciate your response. I made the change you suggested to my chrome browser settings and restarted my laptop. However, it still will not allow me to paste from the clipboard into the embedded VScode session.
OS: Windows 11 Home
Version: 22H2
Hi @Mankanwal-Singh ,
Did you try the shortcut keys?
# VSCode Integrated Editor
Most of the terraform labs and some others use a VSCode editor embedded in the browser for coding exercises. Opening the terminal and getting copy and paste to work can be a challenge!
This page sets out how to solve this issue. It will be expanded as information about other browsers and operating systems is gathered, however as with all labs, the recommended browser is Chrome.
* [Chrome Settings](#chrome-settings)
* [Open Terminal](#open-terminal)
* [Copy/Paste to Terminal](#copypaste-to-terminal)
* [The terminal I had open closed on me!](#the-terminal-i-had-open-closed-on-me)
Firstly, you must ensure that `kodekloud.com` and all subdomains have access to the clipboard.
## Chrome Settings
1. Open `Settings`
1. Navigate to `Privacy and Security` from the menu on the left
1. Click on `Site Settings`
1. Under `Permissions` (Location, Camera etc.), click on `Additional Permissions`
1. Find `Clipboard`
This file has been truncated. show original
Regards,
It will work when you open a new window.
Regards,
1 Like