Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Ability to change the custom block type to another

Aperta
#2,401 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

@matthewlipski ci sta già lavorando.

Dal 3/2/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug:P3 sponsor

It would be very helpful if BlockNote provided a native way to change a custom block type to another block type.

Currently, when selecting text inside BlockNote’s built-in blocks, the formatting toolbar appears with a Block Type dropdown that allows changing the block type. However, this dropdown is not available for custom blocks, which makes it impossible to convert them using the same UX.

Current Limitation

  • Built-in blocks expose the Block Type dropdown in the formatting toolbar
  • Custom blocks do not expose this control
  • As a result, users cannot convert a custom block into another block type using the native UI

Existing Workaround

BlockNote allows developers to manually construct the content of the formatting toolbar. However, this approach has several drawbacks:

  • The formatting toolbar dynamically adapts based on context (e.g. links, images, tables, etc.)
  • Manually reconstructing the toolbar risks:
    • Breaking built-in toolbar logic in certain states
    • Missing context-specific behaviors
    • Losing compatibility with future toolbar features or components

Why Native Support Matters

  • Ensures consistent UX between built-in and custom blocks
  • Avoids fragile workarounds and duplicated logic
  • Preserves automatic toolbar behavior and future extensibility
  • Makes custom blocks feel like first-class citizens in the editor

Ideally, custom blocks should be able to opt into the same Block Type dropdown behavior as built-in blocks without requiring manual toolbar reconstruction.

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

Preparare l'ambiente

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.