aboveEditable
renders should only wrap the editable area
#4181
mattiaz9
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
This makes sense, PR's appreciated. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now if a plugin renders a
beforeEditable
, such the toolbar, when another plugin is rendered usingaboveEditable
it also wraps the siblings components.This is, in my opinion, wrong because It makes very difficult to implement a custom layout. It also creates some unwanted behaviors, such as the contextual menu that appears outside the editable area.
Also, there is already
aboveSlate
that should wrap the entire content if needed, so I don't see why having the same behavior for theaboveEditable
.I believe you should change the behavior of the
aboveEditable
to only wrap the slate editable area.Beta Was this translation helpful? Give feedback.
All reactions