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

Add Copy option for preview panel #862

Open
benkeen opened this issue Feb 8, 2024 · 0 comments
Open

Add Copy option for preview panel #862

benkeen opened this issue Feb 8, 2024 · 0 comments

Comments

@benkeen
Copy link
Owner

benkeen commented Feb 8, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant