distributor icon indicating copy to clipboard operation
distributor copied to clipboard

Iframe code is being stripped when I make edits after first push of post

Open j0HnC0untry opened this issue 5 years ago • 4 comments

I am pushing a post from Site A to Site B via the top nav bar. The first time I do it, it works perfect.

The post contains a container that has iframe code that pulls pulls a pdf from google drive. As mentioned, the first time works perfect and the pdf is visible and working.

When I make a update to the post and hit save, Site B is updated. How ever the pdf code is missing.

I have included both sets of code for you to review. Let me know if anyone else is having this issue

Below is the code with the pdf

<div class="elementor-element elementor-element-4a51722 elementor-widget elementor-widget-theme-post-content" data-id="4a51722" data-element_type="widget" data-widget_type="theme-post-content.default">
				<div class="elementor-widget-container">
					<div data-elementor-type="wp-post" data-elementor-id="4975" class="elementor elementor-4975" data-elementor-settings="[]">
						<div class="elementor-inner">
							<div class="elementor-section-wrap">
							<section class="elementor-section elementor-top-section elementor-element elementor-element-351263e5 text-center elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="351263e5" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
							<div class="elementor-row">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6d9ac2f5" data-id="6d9ac2f5" data-element_type="column">
			<div class="elementor-column-wrap elementor-element-populated">
							<div class="elementor-widget-wrap">
						<div class="elementor-element elementor-element-52f2d337 elementor-widget elementor-widget-text-editor" data-id="52f2d337" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
					<div class="elementor-text-editor elementor-clearfix"><!-- wp:html -->
<p><iframe style="background-color: #ffffff;" src="https://drive.google.com/file/d/placeholdertext/preview" width="800" height="700"></iframe></p>
<!-- /wp:html --></div>
				</div>
				</div>
						</div>
					</div>
		</div>
								</div>
					</div>
		</section>
						</div>
						</div>
					</div>
				</div>
				</div>

Below is the code without the code

<div class="elementor-element elementor-element-4a51722 elementor-widget elementor-widget-theme-post-content" data-id="4a51722" data-element_type="widget" data-widget_type="theme-post-content.default">
<div class="elementor-widget-container">
<p></p>
</div>
</div>

j0HnC0untry avatar Feb 09 '21 20:02 j0HnC0untry

@j0HnC0untry it looks like Elementor is in use, which has some known compatibility issues as tracked in #348. We have this issue on our roadmap, but a bit far into the future so if this is an urgent or important need for you then we can discuss alternative options for you (feel free to email me [email protected] if that's the case).

jeffpaul avatar Feb 09 '21 22:02 jeffpaul

@jeffpaul I sent you a email. Thanks for your insight on this

j0HnC0untry avatar Feb 10 '21 00:02 j0HnC0untry

@jeffpaul If you could send me the alternative options for this issue (i emailed you yesterday) that would be great. Many thanks in advance!

j0HnC0untry avatar Feb 10 '21 15:02 j0HnC0untry

@jeffpaul were you able to send me a email on the below work around

@j0HnC0untry it looks like Elementor is in use, which has some known compatibility issues as tracked in #348. We have this issue on our roadmap, but a bit far into the future so if this is an urgent or important need for you then we can discuss alternative options for you (feel free to email me [email protected] if that's the case).

j0HnC0untry avatar Feb 11 '21 13:02 j0HnC0untry