editor.getSelectedText() - Missing whitespace between selected text segments crossing blocks boundaries

Aperta
#710 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Start by locating the editor.getSelectedText() implementation and reproduce the issue with two paragraph blocks whose text is selected across the block boundary. Verify that the returned array preserves the selected text segments and includes the expected whitespace between them.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug:P3

Describe the bug
Selected text across blocks is truncated without spaces when the selection is across blocks

To Reproduce
Write 2 Paragraph blocks - select their text and see the resulting text from editor.getSelectedText()

The function should return an array of selected text segments by blocks.

Lingua principale
TypeScript
Stelle
10.2k
Fork
772
Merge medio
3g 11h
PR unite (30g)
17

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TypeCellOS/BlockNote

Tutte le issue di TypeCellOS/BlockNote

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.