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
5.89k stars 381 forks source link

Add support to edit blocks with CSS #865

Closed aBenve closed 6 days ago

aBenve commented 1 week ago

Let the user add the css styles they want.

the editor.toggleStyle() show not only work for those 6 predefined styles. Let me write css there

YousefED commented 6 days ago

You can create custom styles and add them to the schema of your editor: https://www.blocknotejs.org/docs/custom-schemas/custom-styles