Problem/Motivation
Allow adding additional attributes to iframe element e.g. https://git.drupalcode.org/project/iframe/-/blob/8.x-1.x/src/Plugin/Fiel...
Proposed resolution
Add additional fields to media type when \Drupal\media\MediaSourceBase::submitConfigurationForm() creates source field.
Remaining tasks
Create a patch.
Add tests.
Review.
Rejoice.
User interface changes
UI will allow you to select values for additional iframe attributes.
API changes
API addition.
Data model changes
Additional fields on the media type add/edit form.
| Comment | File | Size | Author |
|---|
Comments
Comment #2
Pooja Ganjage commentedHi,
Creating a patch for this issue.
Please review the patch.
Thanks.
Comment #3
Pooja Ganjage commentedComment #4
prudloff commentedThe patch does not seem to add a way to set these attributes.
Comment #5
jibranYup, the patch is only adding defaults to the formatter.
Comment #6
dpiHiding #2 as it is not relevant; resetting issue.
Comment #7
dpiComment #8
smustgrave commentedWonder if this should be closed for #3327390: Support additional attributes in <iframe> tag