iframes stripped from page after saving - Forum | JoomShaper
Awaiting an answer SP Page Builder

iframes stripped from page after saving

Asked by Roy Evans 3 years ago Last activity 3 years ago

Everytime I add an iframe tag in an SP Page Builder, the code is removed when I save the page. As a test, I have have tried adding an iframe to a standard Joomla article and it works fine. This would indicate my global settings and my editor settings are correct.

Your automated answer returned this:

To prevent iframes from being removed from pages after saving, please follow the steps below:

Access the SP Page Builder Dashboard
Click on the edit icon beside each page
Go to the Global Settings tab
Enable the Allow Iframe option
Save the changes

But these settings options don't seem to be for SP PB 5. I cannot see any global settings tab. What am I missing?

Thanks in advance.

4 replies

Paul Frankowski Senior Staff

Hi Roy,

In SPPB 5.0.5 iframe should work inside Custom HTML addon , you don't have to check anything extra.

Probably you have older SPPB version, not the current one.


In some cases iframe code can be damged by RSFirewall, but this is another story.

Roy Evans Asked this

Thanks Paul. That did work, but is there any way to include iframes in a standard text box rather than custom HTML?

Paul Frankowski Senior Staff

I have a feeling that this part of the Text addon will have to be officially improved. I will inform our dev team that you asked for that. By now... Custom HTML addon do the job.

BTW

What kind of iframe you used, youtube player or what?

Roy Evans Asked this

Hi Paul

It was for an embedded Google map. I tried the SP PB Google Map add-on but just got a grey box. I suspect this is because I don't have a maps API but I don't really want to go down that route just for a few very occasional uses.

Log in to reply.