tiptap icon indicating copy to clipboard operation
tiptap copied to clipboard

[Bug]: The blank placeholder of the list item coincides with the cursor.

Open werct opened this issue 6 months ago • 1 comments

Affected Packages

extension-placeholder

Version(s)

2.6.4

Bug Description

image

import StarterKit from '@tiptap/starter-kit'
import Placeholder from '@tiptap/extension-placeholder'

const editor = useEditor({
  extensions: [
    StarterKit,
    Placeholder.configure({
      // BUG:
      placeholder: 'input / evoke more',
    }),

  ],
  content: ``,
  editorProps: {
    attributes: {
      class: 'focus:outline-none',
    },
  },
})

I used Tailwind CSS.

Browser Used

Chrome

Code Example URL

No response

Expected Behavior

The blank placeholder of the list item coincides with the cursor.

Additional Context (Optional)

No response

Dependency Updates

  • [X] Yes, I've updated all my dependencies.

werct avatar Aug 19 '24 02:08 werct