[Bug]: Unexpected cursor behavior #5903
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
core
Version(s)
2.0.8
Bug Description
I tried to implement a custom extension to achieve behavior similar to an inline input box with a placeholder.
However, when I tried to switch left and right through the keyboard, I couldn't get the cursor to enter the custom extension,custom components will be selected for all ;
At the same time, I also found that rows with custom extensions had abnormal behavior to switch up and down.
here is a demo: https://codesandbox.io/p/sandbox/hrjg4g
How can I fix it ? Or is there another implementation?
i also open a discussions: #5898
Browser Used
Chrome
Code Example URL
https://codesandbox.io/p/sandbox/hrjg4g
Expected Behavior
can enter the custom component normally through the keyboard, and the row where the custom component is located can be switched to other rows normally by pressing the up and down buttons.
Additional Context (Optional)
No response
Dependency Updates
The text was updated successfully, but these errors were encountered: