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

Change behavior of "Get PEM" button #66

Open
chmc3 opened this issue Nov 9, 2023 · 2 comments
Open

Change behavior of "Get PEM" button #66

chmc3 opened this issue Nov 9, 2023 · 2 comments

Comments

@chmc3
Copy link

chmc3 commented Nov 9, 2023

A customer is requesting that we change the way the text presentation of the .pem certificate is changed from it's current state.
Currently the page uses a deprecate <tt> element. The suggestion is to replace the <tt> element with the following:
<div contenteditable="true" oncut="return false;" onpaste="return false" onkeydown="if(event.metaKey || event.ctrlKey) return true; return false;" style="font-size: 95%;">

@chmc3
Copy link
Author

chmc3 commented Nov 9, 2023

This was requested by a customer in REQ7749654

@stea-uw
Copy link
Contributor

stea-uw commented Dec 6, 2023

While I appreciate the snippet they gave, I think the recommended fix for this element is to use <pre><code>.

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

2 participants