Wp-calypso: Gutenberg: Embed: Remove WordPress embed

Created on 30 Oct 2018  路  7Comments  路  Source: Automattic/wp-calypso

Describe the bug

The WordPress embed block is available on WordPress.com, but trying to add a WordPress embed always results in an error:

Sorry, we could not embed that content.

On the front end, a plain link to the WordPress post appears.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Gutenberg-enabled WordPress.com site.
  2. Start a new Gutenberg post.
  3. Add a WordPress embed block.
  4. Paste a link to a WordPress post and click the Embed button.
  5. See an error in the editor.
  6. Preview the post and see the plain link to the post.

Expected behavior

The WordPress embed block should not show up since it isn't supported on WordPress.com. Let's make sure to disable this in all wpcom environments.

Screenshots

screenshot 2018-10-30 16 08 01

Desktop (please complete the following information):

  • OS: macOS 10.14
  • Browser Chrome 70.0.3538.77
Calypsoify [Goal] Gutenberg [Pri] Normal [Type] Bug wp-admin

All 7 comments

Noting that I am still able to reproduce this, and it happens only on Calypsoified Gutenberg. On Gutenlypso, I am seeing a blank, white space instead - logged this here https://github.com/Automattic/wp-calypso/issues/29388

We've never been able to embed WordPress content for WordPress.com simple sites due to security concerns - even in the classic editor when pasting an oEmbed URL.

Perhaps we can just remove the block from appearing?

Perhaps we can just remove the block from appearing?

Agreed, that's what I expected:

The WordPress embed block should not show up since it isn't supported on WordPress.com.

Discovered this while I was going through adding all available Blocks into a post. It seems that the block is going to be removed eventually, right?

Removal proposed in D25893-code

It seems that the block is going to be removed eventually, right?

right

The WordPress embed block should no longer be available after landing D25893-code.

Was this page helpful?
0 / 5 - 0 ratings