You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The annotations package breaks drop targets when dragging blocks #21172
You don't see any drop-targets and dragging blocks becomes much more difficult as the space these create is required.
Expected behavior
I expected the drop targets both to visually aid me as well as to provide sufficient space between elements to make dragging and dropping a user-friendly experience.
Additional context
The annotations package is being used by Yoast SEO and thus will be loaded on a large number of sites.
cc @jorgefilipecosta This may be a regression slated to land for 5.4.
As worst-case scenario in case it's too late for the release, a possible workaround would be to create filter(s) on editor.BlockListBlock which restores the is-drop-target class name.
Activity
aduth commentedon Mar 26, 2020
Confirmed. It can also be reproduced in the default development environment by activating the "Gutenberg Test Plugin, Plugins API" plugin.
Suggested fix: Annotations implementation should merge with incoming
classNameprop.aduth commentedon Mar 26, 2020
See #21184 for fix.
aduth commentedon Mar 26, 2020
cc @jorgefilipecosta This may be a regression slated to land for 5.4.
As worst-case scenario in case it's too late for the release, a possible workaround would be to create filter(s) on
editor.BlockListBlockwhich restores theis-drop-targetclass name.Untested code, but roughly: