Embedding Tweets
-
There seems to be an issue with embedding tweets. When I embed a tweet into a box (using twitter’s embed function) it works fine. However if I go back and edit that page (anywhere on the page, in any box) and update it, pixgridder then adds an additional piece of code after the embedded tweet, which then stops it from embedding properly.
The original piece of code looks like this;
<blockquote class="twitter-tweet" lang="en"><p>Rise and shine <a href="https://twitter.com/Deckheds">@Deckheds</a> it's launch day! :)</p>— Leah Spicer (@leahgoldenapple) <a href="https://twitter.com/leahgoldenapple/status/561091491360428032">January 30, 2015</a></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
Then after updating the page it changes to this;
<blockquote class="twitter-tweet" lang="en">Rise and shine <a href="https://twitter.com/Deckheds">@Deckheds</a> it's launch day! :) — Leah Spicer (@leahgoldenapple) <a href="https://twitter.com/leahgoldenapple/status/561091491360428032">January 30, 2015</a></blockquote> <script src="//platform.twitter.com/widgets.js" async="" type="mce-mce-no/type" charset="utf-8"></script>
As you can see
type="mce-mce-no/type"
has been added in automatically upon updating the page.
- The topic ‘Embedding Tweets’ is closed to new replies.