AI Menu positioning when editing multiple blocks

Aperta
#2,388 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Start by reviewing the behavior described in PR #2247 and reproducing the issue in examples/01-basic/01-minimal/App.tsx. Focus on the unresolved positioning concern: when editing multiple blocks, the AI Menu should remain useful for reviewing the affected text without covering previous context; the issue does not name an implementation file or test.

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

Descrizione

bug:P3

Describe the bug
Originally described in https://github.com/TypeCellOS/BlockNote/pull/2247

Two issues:

  • The AI Menu opens & attempts to scroll, it should be smarter about not doing this if it is already in view
  • The AI Menu maybe should open relative to the blocks rather than relative to the text selection that the AI created, can be hard to review in context when the menu covers previous text

To Reproduce
<clear steps to reproduce are super helpful! Best is to provide an online sandbox, click to create one>

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
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.