Skip to content

Add Copy option for preview panel #862

Description

@benkeen

Sometimes you just want to generate a tiny bit of data; adding a "copy" option would be handy.

Maybe:

  • copy icon left of refresh icon (separated by pipe)
  • very clear tooltip explaining that this isn't the actual generated data.

Copy preview demo code. To generate more, use the Generate button below.

Notes:

  • will require moving preview generation code higher up the stack. Weird it's in the CodeMirrorWrapper component right now anyway.
  • possible icons: FileCopyTwoTone, FileCopy, FileCopyOutlined, SaveAlt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions