npm.io
0.1.4 • Published 2 months ago

prosemirror-drop-indicator

Licence
MIT
Version
0.1.4
Deps
4
Size
44 kB
Vulns
0
Weekly
0
Stars
1

prosemirror-drop-indicator

NPM version

A module for ProseMirror that provides a drop indicator plugin.

This package serves a similar purpose to the prosemirror-dropcursor package, but with the following differences:

  • It doesn't render the indicator directly. Instead, you provide callbacks to control the drop indicator's behavior.
  • It provides better drop-position prediction, especially for nested nodes.
  • It has not yet implemented the vertical drop indicator.

API documentation

License

MIT