Comments extension #5272
Replies: 2 comments
-
hey @kobrynovych, your data will not be deleted while you have an active subscription, so no need to worry about it. The comments are actually just saved in the ydoc, so if you have the ydoc on your own database, you also have the comments. You can fetch the ydoc using the management API. |
Beta Was this translation helpful? Give feedback.
-
Hey @janthurau , Thank you very much for your response. It turns out that our backend project is built on PHP/Laravel, and it seems we cannot store the YJS format. It seems that in this case, we just need to store the document data in JSON or HTML format in our database, and the comment data (to keep it for a rainy day), but not send them to the frontend in props, since we are already using data from Tiptap servers. This is how we get document data:
And this is how we get comment data: ` ` Am I saying this correctly? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I integrate comments in a tiptap text editor using this code
https://tiptap.dev/docs/editor/comments/overview
I understand that these comments are stored on your server, I wonder if the data about the comments will not disappear over time
1.
how long will they be stored on your server? will it happen that I have the signature 'Entry' and after 14 days the written comment will be deleted on your server?
2.
if the comments will be deleted after some time on your server and even if we clone the comments to our server through a web hook, how can these cloned comments be combined with those that are still on your server?
(I would be grateful for an example of the code or a link to the documentation on this)
my vue2 code:
Beta Was this translation helpful? Give feedback.
All reactions