Open
Description
Description:
When editing table cells in editor.js, the cursor behaves unexpectedly when removing spaces at the end of a cell's content. Instead of staying in the current cell, it randomly jumps to another cell, disrupting the editing experience.
Steps to Reproduce:
- Create a table with 4 to 6 rows in editor.js.
- Fill in all cells with text.
- Add multiple spaces (e.g., "Text ") at the end of each cell.
- Randomly remove spaces using the Backspace key.
- Observe that the cursor unexpectedly jumps to a different cell.
Expected Behavior:
- The cursor should remain in the current cell while removing spaces or characters.
- The cursor should not jump to another cell unexpectedly when pressing Backspace.
Actual Behavior:
- The cursor jumps to a different cell randomly when deleting spaces at the end of the text.
Environment:
- Editor.js version: 2.30.7
- Editor.js table version: 2.4.3
Additional Context:
This behavior disrupts the editing experience, making it difficult to modify text within a table. Ensuring the cursor remains stable in the current cell would improve usability.
Video attachment to reproduce the issue:
https://github.com/user-attachments/assets/4ed5e7b2-6962-4e9e-b493-d3de0664d672