Add missing "checkOrigin" and "bodyPadding" options

Created on 3 February 2021, over 3 years ago
Updated 14 March 2023, over 1 year ago

This affects the Drupal 7 and Drupal 8 version I guess.

Problem/Motivation

https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/parent... has a "checkOrigin" option, which is not existing in the module options currently.

Anyway it's required for cases like this: https://github.com/davidjbradshaw/iframe-resizer/issues/578
Because typically the iframe source is external and this is CORS.

The option "bodyPadding" is also missing.

Steps to reproduce

See https://github.com/davidjbradshaw/iframe-resizer/issues/578 for an example

Proposed resolution

Add checkOrigin to options

Remaining tasks

Discuss
Implement
Test
Release

User interface changes

Add checkbox

API changes

None

Data model changes

New settings option

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024