dragging/dropping causes desc.selectNode() call where desc is WidgetViewDesc instance

Author: johanneswilmCreated Aug 31, 2018Updated Apr 7, 2026

Issue details

Dragging and dropping from within the same document works fine most of the time. But at times an error is thrown here where desc is a WidgetViewDesc instance which does not have a selectNode()-method.

Steps to reproduce

Unsure. This has been found while dragging basic inline elements that are not editable themselves. Dragging seems to work fine 3/4 times.

ProseMirror version

prosemirror-view 1.5.1

Affected platforms

  • Chrome