Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sync): process document state from push response
Do not process document state from create response. During create the editor has not been initialized fully and the cursor position is 0 - which is invalid as it is not inside a node with inline content. (It is inside the doc before the initial paragraph.) This also allows processing document state later on in order to recover from out of sync situations. But we do not make use of that yet. Signed-off-by: Max <max@nextcloud.com>
- Loading branch information