TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.

Home Page:https://www.blocknotejs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Collaboration] Make yjs provider composable

bojieyang opened this issue · comments

Is your feature request related to a problem? Please describe.

Currently the collaboration structure only support one yjs provider. But the yjs providers are composable.

For example, I may want to compose y-indexeddb and y-partykit/provider to support offline editing and automatic sync to the server when it is online. yjs support this feature in it's document, but it can't used in blocknote.

Describe the solution you'd like

Allow set multi providers in the collaboration structure or other way to make the provider composable .

I'm pretty sure this is supported; just add multiple providers to the document