The iframe size in the editor is different from the iframe size in the preview

Robin, you’re probably having an issue with the iframe because you’re loading a HTTP URL into a HTTPS page. Try loading in a salesforce page from your org.