Skip to content

Blocks: (Re-)enable selection of embed block by clicking#5730

Merged
aduth merged 8 commits intomasterfrom
add/focusable-iframe
Apr 13, 2018
Merged

Blocks: (Re-)enable selection of embed block by clicking#5730
aduth merged 8 commits intomasterfrom
add/focusable-iframe

Conversation

@aduth
Copy link
Copy Markdown
Member

@aduth aduth commented Mar 21, 2018

Closes #5589
Related: #483

This pull request seeks to restore behaviors of embed click-to-select, originally implemented in #4011 and later regressing in #4872. In doing so, it adds a new function property passed to a block to allow a developer to programmatically select or deselect the block. This, in combination with a new FocusableIframe component, is leveraged to allow the embed block to be selected when its iframe receives focus.

Testing instructions:

Repeat testing instructions from #4011

Loading
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.

3 participants