plate
plate copied to clipboard
[yjs] Add preliminary cursor rendering support
Description This adds the ability to render custom cursors from Yjs. It does not provide a default rendering and it does not update active users.
⚠️ No Changeset found
Latest commit: 953af1ecbbb061989dfb8efa43c38cc99bb0507b
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
plate | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 18, 2023 9:10pm |
AI-Generated Summary: This pull request provides preliminary support for rendering custom cursors within the yjs
package. This update doesn't have any default rendering included yet, neither does it update active users. This patch specifically adds a new file, RemoteCursorOverlay.tsx
, in the yjs
package which contains logic for rendering the cursor overlay. Changes have also been made to package.json
in yjs
, providing an additional dependency for @slate-yjs/react
. Lastly, the RemoteCursorOverlay
was exported in the index file of the yjs
package.
Thank you @drewag for this first contribution!
Is there any progress? I think it's a good one.
is there a example how to use the CursorOverlay