This is integration of the following experiments:
Code
https://svelte.dev/repl/430d56488ba54aa5b30a32fdbf2f881b?version=3.37.0
Demo
Notes
- Need placement engine for context menu. Can’t assume there is enough place for it below mouse position.
- Should not be able to insert an overlapping item. The item should be sized to fit, or denied if the insertion point is directly over of an element.