Skip to content

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

@decayedCell

Description

@decayedCell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions