Ability to change the custom block type to another
@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
- フォーク
- 772
- 平均マージ
- 7日 3時間
- マージ済み PR(30日)
- 25
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TypeCellOS/BlockNote のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
TypeCellOS/BlockNote#2949 · コメント 1 件 ·
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
TypeCellOS/BlockNote#2855 ·
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
TypeCellOS/BlockNote#2829 · コメント 1 件 ·
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
TypeCellOS/BlockNote#2824 ·
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
TypeCellOS/BlockNote#2811 ·
TypeCellOS/BlockNote の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
diegosouzapw/OmniRoute#14869 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
-
status: waiting triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
freeCodeCamp/freeCodeCamp#70412 ·
-
Mend: dependency security vulnerability untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 88/100