How to dynamically resize height of iframe based on length of src document | Community
Skip to main content

How to dynamically resize height of iframe based on length of src document

  • November 14, 2024
  • 0 replies
  • 0 views

Kevin36

This can be considered a followup question to this other post:

 

https://support.zendesk.com/hc/en-us/community/posts/4411088962970-Can-a-zendesk-article-display-iframe-content

 

Basically, I wish to embed a google doc into a helpcentre article, in such a way that if I make changes to the google doc that make it longer or shorter, future renders of the helpdesk article will dynamically resize to the new changes in the underlying doc, without need to make any further changes to the helpdesk article itself, either via some fancy CSS, or some JS, or indeed any workable solution.