Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Ability to change the custom block type to another

オープン
#2,401 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@matthewlipski がすでに取り組んでいます。

2026年2月3日 から。

評価

この issue はまだ評価されていません。

説明

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.

主要言語
TypeScript
スター
10.2k
フォーク
772
平均マージ
7日 3時間
マージ済み PR(30日)
25

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TypeCellOS/BlockNote のほかの issue

TypeCellOS/BlockNote の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。