Open pmeems opened 2 years ago
We use docson to show referenced JSON in our JSON Schema documentation. Here's an example: https://delta-datawarehouse.readthedocs.io/en/latest/explanation.html#unique-id-of-the-farmer
The docson widget is loaded in an iframe. How to set its height to the content height so we get rid of the scrollbars?
iframe
I tried adding frame.height = event.data.height + 18; to the event.data.action == "ready" block in widget.js But that didn't help.
frame.height = event.data.height + 18;
event.data.action == "ready"
Please advice.
We use docson to show referenced JSON in our JSON Schema documentation. Here's an example: https://delta-datawarehouse.readthedocs.io/en/latest/explanation.html#unique-id-of-the-farmer
The docson widget is loaded in an
iframe
. How to set its height to the content height so we get rid of the scrollbars?I tried adding
frame.height = event.data.height + 18;
to theevent.data.action == "ready"
block in widget.js But that didn't help.Please advice.