Skip to content

Conversation

PareshRadadiya
Copy link
Contributor

Description

This PR aims to close #3497 by hidding blockquote from the embedded iframe.

How Has This Been Tested?

Add some embedded blocks, verify the top link does not appear.

Screenshots (jpeg or gifs if applicable):

selection_002

Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Investigating how this is handled on the front-end, it appears we should be injecting a script into the frames which manages the hiding of original content, "wp-embed.js":

https://github.com/WordPress/wordpress-develop/blob/61904426e232e92c4828e2f8176c6e9670dff402/src/wp-includes/js/wp-embed.js#L39-L45

Generally speaking, the Sandbox component is meant to be reusable and should ideally not include styles specific to e.g. embed behavior.

@pento
Copy link
Member

pento commented Jan 24, 2018

Closing in favour of the active PR #4226.

@pento pento closed this Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Embedded Content Block
3 participants