1.8.1 • Published 12 months ago

prosemirror-dropcursor v1.8.1

Weekly downloads
130,722
License
MIT
Repository
github
Last release
12 months ago

prosemirror-dropcursor

[ WEBSITE | ISSUES | FORUM | CHANGELOG ]

This is a non-core example module for ProseMirror. 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 has more information, a number of examples and the documentation.

This code is released under an MIT license. There's a forum for general discussion and support requests, and the Github bug tracker is the place to report issues.

We aim to be an inclusive, welcoming community. To make that explicit, we have a code of conduct 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.

edit-blog-from-sitedafunda-markdown-editor@omnia/fxshiki-editor-v2metta-editor@stellaris/react-rich-editorkontenbase-document-editor@infinitebrahmanuniverse/nolb-pros@rbrcsk/rich-markdown-editor@bytebean/admin-ui@stelejs/extension-dropcursorkkxxx@everything-registry/sub-chunk-2484@duhaha/editormpes-react-prosemirrormtxtrpcv2pamphletpappu-editornonepubpeditorpenmarkpenmark-cmsborkborkqy-self-use-editor@rolebase/editormwc-markdown-editorperry-whiteprimeobjects-ui-web-htmlprosevueprosemirror-paragraphprosemirror-example-setupprosemirror-example-setup-abhiprosemirror-example-setup-abhinavprosemirror-svelteprosemirror-schemaplugin_backslashpromirapptistqalamquick-markdown-editorrafae-rich-markdown-editorbu2-uirpharms-vue-editorrich-markdownrich-markdown-editorrich-markdown-editor-customizablerich-markdown-editor-drepatedrich-markdown-editor-pstrich-markdown-editor-v2chow-chow-editorresoflect-editorrn-text-editorcowriereact-tinacms-editorsveltify-cmssocial-editorswift-editorstyllo-markdown-editorshiki-editordcdc-tiptap-sveltedework-rich-markdown-editordavid-markdown-editorsimplemirrortraverse-markdown-editorstarboard-notebookstarboard-rich-editorspelling-editortiptaptipe-markdown-editortiptap-svelte@nophin/tiptap-pm@notea/rich-markdown-editor@noted-md/rich-markdown-editor@potok/editor@potok/rich-text-editor@platform/ui.editor@pluxbox/pbx-prosemirror@pinpt/notebook-editor@pnegahdar/rich-markdown-editoredvoramark@qintx/zeditor@prosekit/extensions@progress/kendo-editor-common@siakit/form-components@sosuisen/milkdown-plugin-cursor@healthie/chat@healthie/sdk@hipop/rich-markdown-editor@escolalms/markdown-editor@i4o/oh-hi-markdown@i4o/ohm-old@fedotxxl/prose-rich-editor@fedotxxl/rich-markdown-editor@ishop/admin-ui@isle-project/components@instantcommerce/sdk-preview@elowcode/rich-text-editor@imal1/prosemirror-example-setup@marconunnari/rich-markdown-editor@manuscripts/body-editor
1.8.1

12 months ago

1.8.0

1 year ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.5.0-beta.1

2 years ago

1.4.0

2 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

7 years ago

0.24.0

7 years ago

0.23.0

7 years ago

0.22.0

7 years ago

0.21.0

7 years ago

0.20.0

7 years ago

0.19.0

7 years ago

0.18.0

7 years ago

0.17.2

7 years ago

0.17.1

7 years ago

0.17.0

7 years ago

0.16.0

7 years ago

0.15.1

7 years ago

0.15.0

7 years ago