GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Tiptap Docs
  • UI Components
  • Website
  • Sign up
  • Tiptap Editor
  • Quick start
  • Authentication
  • Pro access
  • Tiptap trial
  • What's new in 3.0
  • All features
  • AIPaid
  • ReviewPaid
  • Smart CitationsPaid

This view

  • Original page
  • New address

GeezerVison is showing tiptap.dev — Gapcursor extension | Tiptap Editor Docs

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.

Install

npm install @tiptap/extensions

Usage

import { Editor } from '@tiptap/core'
import { Gapcursor } from '@tiptap/extensions'

new Editor({
  extensions: [Gapcursor],
})

Source code

packages/extensions/src/gap-cursor/

Minimal Install

import { Editor } from '@tiptap/core'
import { Gapcursor } from '@tiptap/extensions/gapcursor'

new Editor({
  extensions: [Gapcursor],
})
PreviouslyFocus
Next upSelection
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.