Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where's the logic for the collaboration in real time html insertion? #6128

Open
raxhacks opened this issue Feb 1, 2024 · 0 comments
Open

Comments

@raxhacks
Copy link

raxhacks commented Feb 1, 2024

I want to know in which file I can finde the logic that makes it possible to distinguish between one span tag and another when working in real time collaboration. For example, something like this:
<div aria-live="assertive" id="magicdomid53" class="ace-line"><span class="author-a-vxnfz84zz80zz73z74z87z6z89zz70zz85zdz70z">asasasasassd</span><span class="author-a-iz86zgibpz75zx9z68zk0nvcz78z">sdsdsdsdsdsds</span><span class="author-a-vxnfz84zz80zz73z74z87z6z89zz70zz85zdz70z">asdasasasasasasasdsd</span></div>

as you can see, there is one initial span with an author 1, then the middle span with author 2, finishing with the last span with author 1 again. I want to know where I can find this logic or how can I implement something similar when pasting text in the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant