platform
platform copied to clipboard
Errors of selecting and cleaning full document
If I want select all document content and remove it, i will face this problems:
Steps to reproduce case 1:
- Create new Document
- Select next line
- Press cmd+a
Actual Result
All documents will be selected
Expected Result
Cursor will move to first cell of table
Steps to reproduce case 2:
- Create new Document
- Add list of any type
- Press Enter more 1 time to create next empty line
- Press cmd+a
- Press Backspace or cmd+Backspace (option+Backspace or Shift+Backspace work correctly)
Actual Result
Document will be cleaned
Expected Result
Lines of list will be joined unexpectially
the second issue is reproducible for any kind of lists, not only todos
you’re right, updated
- The table issue seem to be related to Tiptap, I can reproduce it in their examples: https://tiptap.dev/docs/examples/basics/tables
The issue occurs when the table is the first element in the document; if I add something before table, then selection works as expected. - The second issue seem to be related to listkeymap extension, but I’m not able to reproduce it in Tiptap examples. Probably we use the extension not properly.