Skip to content

Yjs: Editor adds leading/trailing empty paragraph in addition to what server returned from onLoadDocument #4387

Answered by zbeyens
eriksson-daniel asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like you need to wait for onConnect/onSync before calling init

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@dosubot
Comment options

@eriksson-daniel
Comment options

@dosubot
Comment options

@zbeyens
Comment options

Answer selected by eriksson-daniel
@eriksson-daniel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working plugin:yjs
2 participants
Converted from issue

This discussion was converted from issue #4386 on June 20, 2025 14:15.