Creating a text editor for document management

Hey guys I just saw this docs and for our saas we are going to need to build a text editor that is collaborative and going to implement pagination and ultimately wanting users to be able to make variables in the text editors so that other people can edit them. Does anyone have any knowledge in the building proces of one and maybe knows if it’s even possible?

My stack is Reactjs with Django and mongo.

There is a list of text editors that integrate with yjs here: GitHub - yjs/yjs: Shared data types for building collaborative software
There’s Quill, ProseMirror, TipTap, Slate for natural and rich text. And then there’s CodeMirror and the well-known Monaco editor. There’s probably also more somewhere.