Hi,
Great work!
We are currently doing some tests with Substance to see if it can do everything we need.
I can see in the code that there is (unused skeleton) code for dragging and dropping. I have
experimented with it but cannot get my head around dragging files from the desktop and
dropping.
Instead I created a component and node which inherited from paragraph/Paragraph and handled
both drag and drop in this component. However, right now I have to click in the text first, (handle by
onSelectionChange(), to get a selection where the file is dropped.
Is it, today, possible to get a drop event including a selection (or create a selection for
where the drop occurred) so that we can insert a new node exactly where dropped in the text?
Kindly
Danne Lundqvist