Tiptap: Save only delta on update

Created on 23 Nov 2018  路  1Comment  路  Source: ueberdosis/tiptap

There are few ways how to keep notes on the backend. I have chosen Medium`s one.
Short investigation showed me some facts:

  • They keep stories as json probably in noSQL database
  • They only send delta on each update and probably merge them on backend.

POST https://medium.com/p/7cbc4898d666/deltas?logLockId=4338
2018-11-23 20 35 45

Are there posibility to get json delta of prosemirror`s data on update, instead of full data?

Most helpful comment

In v1.7.0 there is also a transaction for the updated event.

>All comments

In v1.7.0 there is also a transaction for the updated event.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bernhardh picture bernhardh  路  3Comments

glavdir picture glavdir  路  3Comments

leandromatos picture leandromatos  路  4Comments

Auxxxxlx picture Auxxxxlx  路  3Comments

jameswragg picture jameswragg  路  3Comments