Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Awareness is copied on independent instances inside one document

See original GitHub issue

Hi, I am using the awareness option with a Y.js document that has multiple sub documents for multiple Slate instances. Awareness is registered on all instances. As you can see, the cursor from one sub doc of the main doc object is also applied on other instances, which is wrong!


the document structure is like:

       slate1: [],
       slate2: [],

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

BitPhinixcommented, Apr 20, 2022

It is available, you can adjust it using the cursorStateField (and cursorDataField) option in withCursors

BitPhinixcommented, Feb 2, 2022

Next allows the customization of the cursor state storage key to solve this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Copyright and Fair Use - Office of the General Counsel
Copyright protects only the form in which ideas and information are expressed. Copyrights expire after a certain period of time. And the law...
Read more >
The Ultimate Guide to Copying Files and Folders Using Xcopy
Learn how to use Xcopy with lots of examples in this ultimate guide. ... From copying a single file, multiple directories, applying filters ......
Read more >
Learn how to share a cloud flow with other users
Sending a copy creates an independent instance of the flow for the recipient. You can't revoke access to the flow after you share...
Read more >
10 things to know about Copy to and Move to (in SharePoint ...
Copy keeps the original Modified date and Modified By name, but Create date will be now and Created By will be the name...
Read more >
Special Cases | 2021-2022 Federal Student Aid Handbook
Documentation is critical—it must support, and include the reason for, the decision and should in almost all cases originate from a third party...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found