TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.
https://www.blocknotejs.org/
Mozilla Public License 2.0
6.56k stars 450 forks source link

Support for H4 and H5 heading levels? #1158

Open kaitakami opened 2 days ago

kaitakami commented 2 days ago

Is your feature request related to a problem? Please describe. Currently, BlockNote only supports H1, H2, and H3 headings. This limitation prevents the creation of more detailed document structures that require H4 and H5 headings, hindering the ability to properly format documents with deeper hierarchical structures.

Describe the solution you'd like Extend BlockNote to support H4 and H5 heading levels. This would include:

  1. Adding H4 and H5 options to the heading level selector in the editor toolbar.
  2. Implementing rendering and styling for H4 and H5 headings in the editor view.
  3. Ensuring correct export of H4 and H5 headings when converting to other formats.

Describe alternatives you've considered

Additional context Supporting H4 and H5 would allow for a wider range of use cases, including technical documentation and complex reports.

Bonus [ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖

LucianoTrujillo commented 2 days ago

I have the same urgency, I really need this 🙏

FerreroManuel commented 2 days ago

Same problem here... 🙏🏻🙏🏻🙏🏻

Arielcito commented 2 days ago

I need this feature. Is there any update? 🙏🏻🙏🏻

YousefED commented 1 day ago

Thanks for the request, would love to add this but also focussing on some other requests atm.

Are all of you working on the same product? What kind of product are you working on?

On Wed, 16 Oct 2024 at 19:15, Ariel Serato @.***> wrote:

I need this feature. Is there any update? 🙏🏻🙏🏻

— Reply to this email directly, view it on GitHub https://github.com/TypeCellOS/BlockNote/issues/1158#issuecomment-2417442932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC2BWJZCAP4XHW6WHF5A7DZ32NM7AVCNFSM6AAAAABQB4TVPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGQ2DEOJTGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

LucianoTrujillo commented 1 day ago

Thanks Yousef! Yes! We've already used this amazing tool for creating an AI educational platform in the past (for our thesis at university, where teachers could create engaging theory documents in a notion style assisted with AI.

Now we are building an editor for creating blog posts to wordpress.

Your abstractions are the best!