Description
Is your feature request related to a problem? Please describe.
My Custom Blocks rely on CSS variables from their parent nodes. That means that when I use the drag handle to drag and drop them I lose styling properties and drag and drop preview doesn't look good.
Describe the solution you'd like
A configurable option to specify the selector for the parent of the drag and drop preview. The SideMenuController
seems like a good place for it. I could take a stab at implementing it.
Describe alternatives you've considered
An alternative is for me to rewrite my app in a way that does not rely on CSS variables set up the DOM tree. I'd rather not do that.
Additional context
As you can see in the video, button's text color and background are part of the theme specified on the Editor's parent. The dragged button loses it's styles.
Screen.Recording.2025-05-14.at.12.33.38.mov
Bonus
[ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖