Closed d-karstens closed 8 months ago
Hi, we've encountered an issue where iframes are not rendering correctly using renderHtml(), despite saving correctly
renderHtml()
Here's a dump of the data in our template - looks like the url is there, but it should be in attrs['src']
attrs['src']
Seems to be related to this logic https://github.com/verbb/vizy/blob/craft-4/src/nodes/Iframe.php#L22
field.renderHtml()
4.5.6.1
2.1.11
No
No response
Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-4 as 2.1.11"
composer require verbb/vizy:"dev-craft-4 as 2.1.11"
Thank you!
Fixed in 2.1.12
Describe the bug
Hi, we've encountered an issue where iframes are not rendering correctly using
renderHtml()
, despite saving correctlyHere's a dump of the data in our template - looks like the url is there, but it should be in
attrs['src']
Seems to be related to this logic https://github.com/verbb/vizy/blob/craft-4/src/nodes/Iframe.php#L22
Steps to reproduce
field.renderHtml()
Craft CMS version
4.5.6.1
Plugin version
2.1.11
Multi-site?
No
Additional context
No response