HTML block code breaking

Has anyone found a way around the Gutenberg HTML block changing HTML code when saved?I the following AMP code that I nee

Has anyone found a way around the Gutenberg HTML block changing HTML code when saved?

I the following AMP code that I need to insert:

<amp-iframe sandbox='allow-scripts allow-same-origin' layout=responsive resizable noloading src='/visualisation/456626/embed?auto=1' width=400 height=300>
<amp-img layout=fixed height=64 width=64 src='/resources/bosh.svg' placeholder style='margin: auto'></amp-img>
<div overflow></div></amp-iframe><p>
<a href='/visualisation/456626/?utm_source=embed&utm_campaign=visualisation/456626'>
<amp-img layout=fixed height=16 width=105 src='/resources/made_with_flourish.svg' alt='Made with Flourish'></amp-img></a></p>

But when I save it changes the amp-iframe and amp-img tags to amp -iframe and amp -img and breaks the code.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745353272a4623966.html

相关推荐

  • HTML block code breaking

    Has anyone found a way around the Gutenberg HTML block changing HTML code when saved?I the following AMP code that I nee

    2小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信