utopia icon indicating copy to clipboard operation
utopia copied to clipboard

Replace the contextual insert menu (+ within flex) with the new insert context menu

Open maltenuhn opened this issue 9 months ago • 0 comments

Notes:

Image

Once this is done, please ping @maltenuhn to check if there are other places we might still need the Classic insert menu.

Separately: we still want draw-to-insert (and the insert mode that comes with it), but not for arbitrary components. Per @liady 's observation, we probably need to harden the handling of that mode - but it's possible that the mode is fine and instead the react-select-driven toolbar insert menu is the issue.

when we have the floating "Insert" menu already visible, the openFloatingInsertMenu action doesn't re-open the insert dropdown (the React component doesn't even re-render). Notice that on Selection mode it works, but in Insert mode it doesn't

maltenuhn avatar Apr 25 '24 08:04 maltenuhn