Saving & Loading
anyone using blocknote with convex? https://www.blocknotejs.org/examples/basic/saving-loading
BlockNote
Saving & Loading - BlockNote
2 Replies
I’m not, but am looking for an editor for my translator tool. Why do you ask? Do you want to know if it’s possible to store the json in Convex DB instead of local storage?
Wow, the browser cache in the blocknote docs page there works well
i am using JSON.stringify to serialize the blockNotes JSON and saving it as
v.string()
in convex although i could also use v.any()
. The convex part works well. I'm just figuring out some technical details to have multiple BlockNote editors in the same page
but now that i'm thinking about this, i'll check convex notion-clone template