Full threadgpas·Prosemirror[0] implements blocks like notion, and has a MIT license. Mind that it's not super intuitive stuff, at least for me, but it's a very powerful API. There are react implementations in the wild.[0] https://prosemirror.net/View on HN