Ability to change the custom block type to another
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
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
- 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.
Altre issue di TypeCellOS/BlockNote
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
TypeCellOS/BlockNote#2949 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TypeCellOS/BlockNote#2855 ·
I maintainer di solito rispondono entro 3 giorni
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
TypeCellOS/BlockNote#2829 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
TypeCellOS/BlockNote#2824 ·
I maintainer di solito rispondono entro 3 giorni
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TypeCellOS/BlockNote#2811 ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di TypeCellOS/BlockNote
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
supabase/agent-skills#611 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
polka-codes/test#345 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
GoogleChromeLabs/project-sesame#217 ·
I maintainer di solito rispondono entro 12 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
solana-foundation/solana-com#2202 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100