Files
tiptap/docs/src/docPages/api/extensions/gapcursor.md
2020-11-05 13:51:09 +01:00

737 B
Raw Blame History

Gapcursor

This extension loads the ProseMirror Gapcursor plugin by Marijn Haverbeke, which adds a gap for the cursor in places that dont allow regular selection. For example, after a table at the end of a document.

Note that tiptap is renderless, but the dropcursor needs CSS for its appearance. The default CSS is added to the usage example below.

Installation

# with npm
npm install @tiptap/extension-gapcursor

# with Yarn
yarn add @tiptap/extension-gapcursor

Source code

packages/extension-gapcursor/

Usage