UWIT-IAM / cert-service

UW certificate service website
2 stars 0 forks source link

Change behavior of "Get PEM" button #66

Open chmc3 opened 1 year ago

chmc3 commented 1 year ago

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 commented 1 year ago

This was requested by a customer in REQ7749654

stea-uw commented 11 months ago

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