version 1.2 creating wp-block-embed
-
The new version, while fixing many issues, will take a simple page (this happens when you update from 1.1 to 1.2 only – not after the update, but when you do the update) that has this text:
<!-- wp:html --> <a href="https://xxxxxxxxxx.com/wp-content/uploads/2018/10/Bylaws.pdf" target="_blank" rel="noopener">Click here for Bylaws</a> <!-- /wp:html --> And change it to this: <!-- wp:core-embed/wordpress {"url":"https://xxxxxx.com/ccrs-with-13th-amendment-2018/","type":"wp-embed","providerNameSlug":"xxxxxxxxhoa"} --> <figure class="wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-xxxxxxxxx"><div class="wp-block-embed__wrapper"> https://xxxxxxx.com/ccrs-with-13th-amendment-2018/ </div></figure> <!-- /wp:core-embed/wordpress -->These 2 examples aren’t of the same page, so the url’s are different, but the exact same thing happens no matter the url.
Why does this matter? Well the wp-block-embed results in a thumbnail view of the pdf (the link is to a pdf), but it also adds the ability to make a comment? (wtf? – it’s a static page!), and it also has a button to copy and embed the link to a different website! Totally undesirable.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘version 1.2 creating wp-block-embed’ is closed to new replies.