Open howtopick opened 1 year ago
@howtopick this is not supported at the moment, we can look into it if more users require this!
@YousefED Hi, I'd like to override the Doc schema like this https://tiptap.dev/docs/editor/examples/custom-document
I found this https://github.com/TypeCellOS/BlockNote/blob/main/packages/core/src/pm-nodes/Doc.ts
I hope I can change the schema to heading blockGroup
I'll put my vote on this as well. I'd love to unify my title bar into the editor to be more like Notion
Would love this feature.
We should be able to enforce document schema. eg: All documents should start with an h1.
I try to fix
blockContainer+
toheading blockContainer+
in BlockGroup.ts, but it don't work. someone know that?