Add button to copy formatted JSON
Most of the time when I use tools like this it’s to copy the formatted json. A button for this would be cool.
Most of the time when I use tools like this it’s to copy the formatted json. A button for this would be cool.
Log in to comment and vote
Comments3
@levelsio
Nov 28, 2024
Made the output now contenteditable which means you can copy and select it!
Silver Hubble
Nov 22, 2024
I can’t edit this, but it would be even better if cmd+a worked on each side independently so I can just cmd+a, cmd+c to get the formatted version. On the input side it works as I expect, but on the formatted side both sides get selected with cmd+a
@levelsio
Nov 27, 2024
I tried to add this but I can’t find any way to select text in a div that’s not a textarea, any idea?