Clipboard access not supported

I’m getting the error: “Clipboard access not supported for 3P plugins with manifest version upto 4. Valid manifest entry required from manifest version 5.”

I’m just running a real simple plugin to test clipboard access, basically a modal dialog with a button that runs this:

function copyInstructionsToClipboard() {
	navigator.clipboard.writeText("hello");
}

I found the other two threads on this and my manifest is at version 5, and I’m not using webpack. Any help is greatly appreciated.

Did you check the docs for what needs to be set in manifest v5? Also how to use clipboard might become handy

@Karmalakas, thank you so much. And I did spend quite a bit of time sifting through the available information, but the documentation here is extremely difficult to navigate.

Completely agree on this one :slight_smile: