DinoChiesa / jwt-webtool

Source code repo for the online JWT webtool.
Apache License 2.0
134 stars 45 forks source link

Add a Clear button to the Encoded Token box #31

Closed SeanBurford closed 6 months ago

SeanBurford commented 9 months ago

Add a Clear button to the left hand pane (Encoded Token).

When pasting on Linux using the highlight to copy it's inconvenient to highlight the existing content (overwriting my copy buffer), delete it, go highlight the JWT that I'm interested in and paste it. This button makes that workflow easy.

The new button is to the left of the existing "Copy" button, which matches the style of the other entry fields (which have the copy button in the right most spot): image

DinoChiesa commented 6 months ago

Thanks for this PR, Sean. I've cherry-picked your commit into main. commit