Create and persist a document via the server

Hi!

We’re exposing an API for our users to call so they can programmatically dump a bunch of content into our system. We’ll have a string that represents the content of the document: "<h2>This is my document</h2>" and we need to put that string to a Y.encodeStateAsUpdate() totally on the backend, so that we can store it in our blob store like we do content from the client.

Anyone know if something like this is possible from Node?

(I’m using Tiptap if that is important)

Thanks so much!
-Joe

@JoeRoddy Have you looked at HocusPocus by the TipTap folks. It provides a complete Node backend for TipTap. I’m using it in Clibu Notes.