himalaya icon indicating copy to clipboard operation
himalaya copied to clipboard

Output pane not scrollable

Open starapple2 opened this issue 5 years ago • 2 comments

I don't know if it's a browser issue but the json output pane doesn't allow selecting all the output if there's overflow after I paste html input. I'm using Firefox on a Ubuntu desktop and this happens both locally and on the Himalaya demo site online.

The input is a form with three fields and a submit button.

I set the div to overflow: scroll and auto with no success.

starapple2 avatar Jan 05 '19 13:01 starapple2

Is the issue that it is not scrollable or that there isn't a way to copy the full output?

The demo site is generally for playing with small HTML snippets, not converting full webpages. I recommend writing a script to automate whatever you're doing as it will save you a lot of time.

Otherwise, one thing you can do is debug the webpage's script and set a breakpoint and then at the console run copy(JSON.stringify(code, null, 2)) which will copy the output to your clipboard.

I won't prioritize fixing the demo site, so I'll keep this issue open as a reminder and also for others that may be having trouble. Thanks for the issue!

andrejewski avatar Jan 05 '19 17:01 andrejewski

Just found this lib, way cool! Thank you!

I think the 'div.pane pane-output' just needs a max-height css setting of around 83vh. Gets my whole output visible with scroll.

Noobiest9 avatar May 26 '22 03:05 Noobiest9