Add BlockCanvasCover SlotFill - #42
Conversation
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: +87 B (0%) Total Size: 1.95 MB
ℹ️ View Unchanged
|
| { children } | ||
| </WritingFlow> | ||
|
|
||
| <BlockCanvasCover.Slot fillProps={ { containerRef: localRef } }> |
There was a problem hiding this comment.
Have a feeling the test failures might be due to the lack of a lock/unlock being used? I could be wrong here.
There was a problem hiding this comment.
It isn't a private API and the other usages of createSlotFill don't need it.
This is required by Automattic/vip-real-time-collaboration#58
This adds a SlotFill for the block canvas cover for rendering awareness UI. This provides a more reliable mechanism for rendering over both the iframe based block editor and non-iframe based block editor.