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

Google Doc like comments

Tejaswgupta opened this issue · comments

Firstly, Kudos to the great work on the project!

I wanted mentions/comments functionality as available on Google Doc editor for my website. Upon some research I found https://tiptap.dev/product/comments and https://liveblocks.io/comments both of which are paid options.
Is Blocknote planning on any similar feature in the near future? if not, could anyone possible give some pointers as to how we can implement a similar functionality as those but with Blocknote and our stack:

  • Next.js
  • Supabase(including Supabase-realtime if relevant)

Hello @Tejaswgupta, We have already built the basic version of comment plugin and has been using it for few months. We were already thinking to make it opensource including few other plugins we have developed for BlockNote. I have attached the image of the working plugin. Please let us know if you would be interested in that. I am not sure if something like comments is in road map for BlockNote to provide it as the core package.
Comments
Comments2
Comments3

Hi @hsingh-ds , this looks like a good starting point for us to build on top of, we started some development internally but got busy with some other tasks. Would it be possible for you to share the repo/code with us?

Hi @Tejaswgupta, we have released the source code as a npm package. Please consider giving us start on github.
NPM:https://www.npmjs.com/package/@defensestation/blocknote-comments
Github: https://github.com/defensestation/blocknote-comments

Hi, I think we do want to add a comments system at some point in the future, but it's quite a low priority for us atm. @hsingh-ds's solution looks great though, so I'd recommend checking that out in the meantime:)