Dorian Ouakli I modified the onReady callback from wysiwygEditor.js to also call onLocal in order to merge the content of the realtime session with the content of the user joining the realtime session, but it didn't fix the problem:
// Initialize the edited content with the content from the realtime session.
await this._onRemote(info);
this._onLocal();
I was expecting the onLocal call to add a message to the channel, a message that should have been replayed when the other user joins, but for some reason this message is not replayed. But if I type something after switching back from Source, the message is replayed when the other user joins. I don't understand why... The content change event handler calls onLocal so it should be the same as our onLocal call from the onReady connection callback. Take a look when you have some time. I have the feeling that I'm missing something obvious.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.