Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
j0HnC0untry opened this issue Feb 9, 2021 · 4 comments
Labels
type:bug Something isn't working.
Milestone

Comments

@j0HnC0untry
Copy link

j0HnC0untry commented Feb 9, 2021

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 j0HnC0untry added the type:question Further information is requested. label Feb 9, 2021
@jeffpaul
Copy link
Member

jeffpaul commented Feb 9, 2021

@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 jeff.paul@10up.com if that's the case).

@jeffpaul jeffpaul added this to the 3.0.0 milestone Feb 9, 2021
@jeffpaul jeffpaul added type:bug Something isn't working. plugins and removed type:question Further information is requested. labels Feb 9, 2021
@j0HnC0untry
Copy link
Author

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

@j0HnC0untry
Copy link
Author

@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
Copy link
Author

@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 jeff.paul@10up.com if that's the case).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

3 participants