Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select All, Paste keyboard combo in live editor returns error in Firefox #375

Open
decayedCell opened this issue Dec 13, 2023 · 1 comment

Comments

@decayedCell
Copy link

decayedCell commented Dec 13, 2023

Steps to reproduce:

  1. Use Firefox
  2. Go to https://formidable.com/open-source/react-live/
  3. Click on one of the of the demos to edit the code.
  4. Press CTRL+A to select all
  5. Press CTRL+V to paste the code you want
  6. 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:

2023-12-13.16-45-09.mp4
@decayedCell decayedCell changed the title Select All, Paste combo in live editor returns error in Firefox Select All, Paste keyboard combo in live editor returns error in Firefox Dec 13, 2023
@danichim
Copy link

danichim commented Dec 14, 2023

I have same issue, how we can fix that ?

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

No branches or pull requests

3 participants