Home>Support>How to storage amp-iframe script?

How to storage amp-iframe script?

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hello. I have some script that i must display on AMP version. When a trying to put them to tinymce or textarea the row is cleared.
Incoming string is something like:

<amp-frame layout="responsive" width="500" height="500" src="some_src_here"><div>Read more!</div></amp-iframe>

Output string is something like:
<amp -frame layout="responsive" width="500" height="500" src="some_src_here"><div>Read more!</div>

Is any some field or params for existing fields or something else, that will stop clearing my input.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi Vitaly

    Thanks for posting.

    Unfortunately, the same problem occurs in the Classic Editor Text and Visual tabs. The issue isn’t exclusive to widgets in Page Builder. The Custom HTML widget also doesn’t seem to work as the markup isn’t valid.

    I don’t have a solution for this at the moment. My advice would be to look for a WordPress plugin that’s setup to handle this functionality within WordPress. Sorry, I don’t have more to offer at the moment.

  2. 6 years, 25 days ago Vitaly Dmitriev

    Andrew, thanks for the answer. I guessed that the problem is imposible to solve. I decided to write the [amp-frame] shortcode for myself.

  3. 6 years, 25 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for the update. Really glad to hear you were able to write up a shortcode for the task.

    All the best with your site. If any SiteOrigin questions arise in the future, please open a new thread and let us know.

    Cheers for now.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More