I’m trying to add some code using Google’s AMP guidelines specifically embedding Twitter, Instagram and YouTube. I’m trying to add code inside <publii-amp></publii-amp> but the editor keeps removing it.
Example:
<publii-amp>
<amp-twitter
width=”375″
height=”472″
layout=”responsive”
data-tweetid=”885634330868850689″
>
</amp-twitter>
</publii-amp>
The amp stuff always gets removed. Anything else though like <p> strong etc or plain text remain.
I’m just following the instructions from here: https://amp.dev/documentation/components/amp-twitter/
Any guidance is greatly appreciated!