hackmdio / hackmdio/codimd

Auto resize height for iframe embed ?

Open
#1,567 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi there,
thanks for the great work you all doing on codiMd. It's an amazing tool.

Do you know if there's a way to embed a pad through iFrame and make sure its height is resized to match its content so we don't have a scrolling bar into the iframe please?

All solution I have investigated are always limitated by cross-domain limitation. A solution I found which looks decent is here https://davidjbradshaw.github.io/iframe-resizer/ but again, it needs a script on the host to work.

Maybe there's already a solution for that ? Or a work in progress somewhere ?

Cheers,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.