Ability to change the custom block type to another
維護者通常 3 天內回覆
@matthewlipski 已經在處理了。
開始於 2026年2月3日。
評估
這個 Issue 還沒有評估資料。
描述
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.
- 主要語言
- TypeScript
- 星號
- 10.2k
- 分支
- 778
- 平均合併
- 5 天 22 小時
- 30 天內合併 PR
- 28
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TypeCellOS/BlockNote 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
TypeCellOS/BlockNote#2949 · 1 則留言 ·
維護者通常 3 天內回覆
-
a11y
難度 2/5 1-3 小時 新手友好度 68/100
TypeCellOS/BlockNote#2855 ·
維護者通常 3 天內回覆
-
a11y
難度 2/5 1-3 小時 新手友好度 62/100
TypeCellOS/BlockNote#2829 · 1 則留言 ·
維護者通常 3 天內回覆
-
a11y
難度 2/5 1-3 小時 新手友好度 72/100
TypeCellOS/BlockNote#2824 ·
維護者通常 3 天內回覆
-
a11y
難度 2/5 1-3 小時 新手友好度 68/100
TypeCellOS/BlockNote#2811 ·
維護者通常 3 天內回覆
查看 TypeCellOS/BlockNote 的全部 Issue
相似的 Issue
-
refactor
難度 2/5 半天 新手友好度 84/100
維護者通常 5 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
OHDSI/Data2Evidence#3450 ·
維護者通常 2 天內回覆
-
e2e-failure ready-to-code
難度 2/5 1-3 小時 新手友好度 90/100
redhat-developer/rhdh-plugin-export-overlays#4011 · 1 則留言 ·
維護者通常 1 天內回覆
-
automation missing-model model-sync provider:ofox
難度 2/5 1-3 小時 新手友好度 72/100
anomalyco/models.dev#8421 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆