FormidableLabs / FormidableLabs/react-live

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

オープン
#375 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
4.6k
フォーク
260
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

react-live のデモ URL で、ドキュメントに記載された Ctrl+A と Ctrl+V の手順を使って Firefox で問題を再現し、その後、react-live 3.x より前のバージョンと動作を比較します。選択したコードを live editor に貼り付けても SyntaxError が発生しなければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。