PHP 8.2.30
Preview: README.md Size: 2.05 KB
/home/byroehnu/easepay.easetack.com/node_modules/prosemirror-dropcursor/README.md

# prosemirror-dropcursor

[ [**WEBSITE**](https://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror-dropcursor/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror-dropcursor/blob/master/CHANGELOG.md) ]

This is a non-core example module for [ProseMirror](https://prosemirror.net).
ProseMirror is a well-behaved rich semantic content editor based on
contentEditable, with support for collaborative editing and custom
document schemas.

This module implements a plugin that shows a drop cursor for
ProseMirror.

The [project page](https://prosemirror.net) has more information, a
number of [examples](https://prosemirror.net/examples/) and the
[documentation](https://prosemirror.net/docs/).

This code is released under an
[MIT license](https://github.com/prosemirror/prosemirror/tree/master/LICENSE).
There's a [forum](http://discuss.prosemirror.net) for general
discussion and support requests, and the
[Github bug tracker](https://github.com/prosemirror/prosemirror/issues)
is the place to report issues.

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.

## Documentation

* **`dropCursor`**`(options?: interface = {}) → Plugin`\
   Create a plugin that, when added to a ProseMirror instance,
   causes a decoration to show up at the drop position when something
   is dragged over the editor.

   Nodes may add a `disableDropCursor` property to their spec to
   control the showing of a drop cursor inside them. This may be a
   boolean or a function, which will be called with a view, a
   position, and the DragEvent, and should return a boolean.

    * **`options`**

       * **`color`**`?: string`\
         The color of the cursor. Defaults to `black`.

       * **`width`**`?: number`\
         The precise width of the cursor in pixels. Defaults to 1.

       * **`class`**`?: string`\
         A CSS class name to add to the cursor element.

Directory Contents

Dirs: 2 × Files: 6

Name Size Perms Modified Actions
dist DIR
- drwxr-xr-x 2026-03-14 01:49:08
Edit Download
src DIR
- drwxr-xr-x 2026-03-14 01:49:08
Edit Download
127 B lr--r--r-- 2026-03-14 01:49:08
Edit Download
3.08 KB lrw-r--r-- 2026-02-28 00:27:26
Edit Download
3.63 KB lrw-r--r-- 2026-02-28 00:27:34
Edit Download
1.08 KB lrw-r--r-- 2026-02-28 00:26:32
Edit Download
916 B lrw-r--r-- 2026-02-28 00:27:18
Edit Download
2.05 KB lrw-r--r-- 2026-02-28 00:27:42
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).