1.2 KiB
1.2 KiB
description, icon
| description | icon |
|---|---|
| The gapcursor makes sure the cursor doesn’t get stuck … in a gap. | space |
Gapcursor
This extension loads the ProseMirror Gapcursor plugin by Marijn Haverbeke, which adds a gap for the cursor in places that don’t allow regular selection. For example, after a table at the end of a document.
Note that Tiptap is headless, but the gapcursor needs CSS for its appearance. The default CSS is loaded through the Editor class.
Installation
# with npm
npm install @tiptap/extension-gapcursor
# with Yarn
yarn add @tiptap/extension-gapcursor