react/packages/react-devtools-extensions/src/contentScripts
Ruslan Lesiutin 21021fb0f0
refactor[devtools]: copy to clipboard only on frontend side (#26604)
Fixes https://github.com/facebook/react/issues/26500

## Summary
- No more using `clipboard-js` from the backend side, now emitting
custom `saveToClipboard` event, also adding corresponding listener in
`store.js`
- Not migrating to `navigator.clipboard` api yet, there were some issues
with using it on Chrome, will add more details to
https://github.com/facebook/react/pull/26539

## How did you test this change?
- Tested on Chrome, Firefox, Edge
- Tested on standalone electron app: seems like context menu is not
expected to work there (cannot right-click on value, the menu is not
appearing), other logic (pressing on copy icon) was not changed
2023-04-12 16:12:03 +01:00
..
installHook.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
prepareInjection.js refactor[devtools]: copy to clipboard only on frontend side (#26604) 2023-04-12 16:12:03 +01:00
proxy.js [DevTools] upgrade to Manifest V3 (#25145) 2022-10-21 22:52:18 -04:00
renderer.js [DevTools] remove backend dependency from the global hook (#26563) 2023-04-07 03:35:36 -04:00