FormidableLabs / FormidableLabs/react-live

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

Offen
#375 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
4.6k
Forks
260
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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:

https://github.com/FormidableLabs/react-live/assets/6343485/9770b6a8-bef5-460e-86c1-99f5ef47090d

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.