• I’m trying to embed some flickr images within my posts using the HTML embed code from the flickr image, e.g.:

    <a data-flickr-embed="true" href="https://www.flickr.com/photos/ediphotoeye/21234921632/" title="Frosti Fresh"><img src="https://farm6.staticflickr.com/5816/21234921632_dd145b75eb_z.jpg" width="640" height="427" alt="Frosti Fresh"></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>

    If I paste that into my page in ‘Text’ mode, then switch back to ‘Visual’ mode to make more changes in wysiwyg mode, WordPress ruins the previous formatting. In particular it strips at all the <p> tags so now my text becomes one giant blob rather than having nicely formatted paragraphs.

    What the hell, WordPress?

Viewing 1 replies (of 1 total)
  • Have you tried just linking the image so that WP can handle the embed for you?

    Take a look at this page for exactly how that’s done, and just use the url from the share panel, not the html embed code.

Viewing 1 replies (of 1 total)

The topic ‘Flickr embed destroys post formatting’ is closed to new replies.