mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 17:07:49 +08:00
1.4 KiB
1.4 KiB
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
npm install @tiptap/extension-gapcursor
:::warning Are you using Yarn, pNPM, npm 6 or less? Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please see here which packages are needed and how to install them. :::