Invalid selection provided by `getSelectionCutBlocks` in tables

Abierto
#1,922 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
react, typescript
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug:P3 sponsor

Describe the bug
Selecting multiple cells from a table will make editor.getSelectionCutBlocks() return an incomplete object:

Here the whole table is selected:

Image

Here is an extract of the object returned by editor.getSelectionCutBlocks() after selecting:

Image

To Reproduce

  1. Select multiple table cells
  2. 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 💖
Lenguaje dominante
TypeScript
Estrellas
10.2k
Forks
772
Merge medio
3 d 11 h
PR fusionados (30 d)
17

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TypeCellOS/BlockNote

Todos los issues de TypeCellOS/BlockNote

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.