react-live
react-live copied to clipboard
Select All, Paste keyboard combo in live editor returns error in Firefox
Steps to reproduce:
- Use Firefox
- Go to https://formidable.com/open-source/react-live/
- Click on one of the of the demos to edit the code.
- Press CTRL+A to select all
- Press CTRL+V to paste the code you want
- You get SyntaxError and code doesn't get pasted
Expected behaviour: Paste should work properly.
Root cause: Not sure, but this worked before version react-live 3.x, I detected it while trying to migrate Docusaurus to 3.0
Video demonstration:
https://github.com/FormidableLabs/react-live/assets/6343485/9770b6a8-bef5-460e-86c1-99f5ef47090d
I have same issue, how we can fix that ?