Skip to content

Comments

Update webviewComm.ts iframe to allow clipboard api#739

Open
CarterWilde wants to merge 1 commit intomicrosoft:mainfrom
CarterWilde:patch-1
Open

Update webviewComm.ts iframe to allow clipboard api#739
CarterWilde wants to merge 1 commit intomicrosoft:mainfrom
CarterWilde:patch-1

Conversation

@CarterWilde
Copy link

When using live preview, it's not possible to copy and paste the preview content.

This was due to the iframe created by webviewComm not including the appropriate allow attribute permissions for the Clipboard API.

This change updates the iframe to include clipboard-read and clipboard-write permissions, allowing users to copy and paste from the preview.

When using live preview, it's not possible to copy and paste the preview content.

This was due to the iframe created by webviewComm not including the appropriate allow attribute permissions for the Clipboard API.

This change updates the iframe to include clipboard-read and clipboard-write permissions, allowing users to copy and paste from the preview.
@CakeCrusher
Copy link

@andreamah or someone plz merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants