Skip to content

Conversation

aduth
Copy link
Member

@aduth aduth commented Dec 14, 2017

This pull request seeks to improve the behavior of focusing embed blocks, allowing block selection by clicking on the embed.

Implementation notes:

Detecting click events on iframe is not normally possible, but this uses a technique to detect blur from the host window and whether at the point of blur the active element is the iframe, inferring that this implies that the iframe has received focus.

Testing instructions:

Verify that clicking an embed block selects it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant