TipTap Shows Horizontal Line Cursor When Drag-and-Dropping on a New Line
09:28 13 Dec 2025

When I drop content into the TipTap editor on a new line that doesn’t already exist, I see a horizontal line cursor. Why does this happen, and how can I fix it?
here is my tiptap extension configuration
`

const extensions = [
      StarterKit.configure({ link: false, gapcursor: false,}),
      this.CustomLink.configure({
        openOnClick: false,
        autolink: false,
        HTMLAttributes: {
          target: null,
        },
      }),
      Placeholder.configure({
        placeholder: ({ editor }) => (editor.isEmpty ? this.placeholder : ''),
        emptyEditorClass: 'is-editor-empty',
        showOnlyWhenEditable: true,
      }),
      ...this.createMentionExtensions(),
      ...this.additionalExtensions,
    ];

`
Drop image on existing lineDrop image on new line
I’ve attached an image to show the difference between dropping content on an existing line and on a new line in the TipTap editor. When I drop it on a new line, a horizontal line cursor shows up. How can I stop this from happening?

javascript drag-and-drop tiptap prose-mirror