-
-
Notifications
You must be signed in to change notification settings - Fork 842
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
Toggle demo clipboard visibility between JSON, and Markdown and HTML #609
Toggle demo clipboard visibility between JSON, and Markdown and HTML #609
Conversation
between when type is set to JSON and when not when set to JSON, markdown and HTML clipboards not visible and disabled when not set to JSON, JSON clipboard not visible and disabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Jonah Lawrence <[email protected]>
Co-authored-by: Jonah Lawrence <[email protected]>
Co-authored-by: Jonah Lawrence <[email protected]>
You can test locally or in a codespace with php installed, I'll enable a review app so it can be tested on Heroku in this PR. The View Deployment button should appear above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that the copy to clipboard button for JSON is not yet working. The clipboard.copy function probably needs to be updated.
Thank you for your help @DenverCoder1. The copy from clipboard functionality when the type is JSON is now fixed! |
Thanks for contributing! |
Description
Add functionality to toggle between JSON, and Markdown and HTML clipboard visibility on demo site when the type variable is set to json and when not, respectively.
Fixes #572
Type of change
How Has This Been Tested?
composer test
Checklist:
Screenshots