Hi, @lchamorro.
Thank you for bringing this to our attention. I apologize for my previous comment. It looks like it’s working on my test site upon further testing.
See image1: https://prnt.sc/hT99XLHvtXZR
See image2: https://prnt.sc/axnm1TBaqu9J
See image3: https://prnt.sc/GCYizD11JZmE
Could you please check for any plugin or theme conflicts? Kindly switch to StoreFront temporarily, then deactivate plugins one by one to see if the issue persists. If the problem disappears after deactivating a specific plugin, it indicates that particular plugin is causing the issue.
I hope this helps. If you have any other questions, please don’t hesitate to ask.
Best regards,
Adrian
Hi there,
Thank you for the reply. Yes, iframes do still work on global tabs. However, they do not work on a per product basis (i.e. when you check the box “Override the default tab content for this product” on a product listing). You can view the issue in the link below.
Video Link
Hi, @lchamorro.
Thank you for providing the video. It was incredibly helpful in replicating the issue. I’ll make sure to inform our developer about this. Once again, thank you for bringing it to our attention.
We will keep you posted.
Best regards,
Adrian
Hi, @lchamorro.
Good news! This functionality will be included in the upcoming update for both the free and pro versions.
In the meantime, you can use the following code to preserve the iFrames within the product tabs:
function custom_wpkses_post_tags( $tags, $context ) {
if ( ‘post’ === $context ) {
$tags[‘iframe’] = array(
‘src’ => true,
‘height’ => true,
‘width’ => true,
‘title’ => true,
‘allow’ => true,
‘frameborder’ => true,
‘allowfullscreen’ => true,
);
}
return $tags;
}
add_filter( ‘wp_kses_allowed_html’, ‘custom_wpkses_post_tags’, 10, 2 );
You can paste this code into plugins like Code Snippet or in the ‘functions.php’ file of your child theme.
I hope this helps. Please let me know if you have further questions.
Best regards,
Adrian