TypeCellOS / TypeCellOS/BlockNote
Invalid selection provided by `getSelectionCutBlocks` in tables
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 10.2k
- Fork
- 772
- Merge medio
- 3g 11h
- PR unite (30g)
- 17
Descrizione
Describe the bug
Selecting multiple cells from a table will make editor.getSelectionCutBlocks() return an incomplete object:
Here the whole table is selected:
Here is an extract of the object returned by editor.getSelectionCutBlocks() after selecting:
To Reproduce
- Select multiple table cells
- Call
editor.getSelectionCutBlocks()
Misc
- Node version: N/A
- Package manager: PNPM 10.14.0
- Browser: Firefox 141.0.2 (Flatpak)
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Reproduce the issue by selecting multiple cells in a table and calling editor.getSelectionCutBlocks(). Trace the selection handling for tables and compare the returned object with the selected cells; done means the result contains the complete table selection rather than an incomplete object.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100