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

功能:多人协同插件支持 #165

Open
2 of 3 tasks
cycleccc opened this issue Sep 12, 2024 · 3 comments
Open
2 of 3 tasks

功能:多人协同插件支持 #165

cycleccc opened this issue Sep 12, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@cycleccc
Copy link
Owner

cycleccc commented Sep 12, 2024

功能描述

提供可用于多人协同的扩展插件

提炼几个功能点

  • 多用户编辑同步
  • 多用户光标展示
  • 多用户历史同步

可参考的案例

参考 slate-yjs 实现

相关 issue

wangeditor-team/wangEditor#4443
wangeditor-team/wangEditor#5775
wangeditor-team/wangEditor#4033

@cycleccc cycleccc added the enhancement New feature or request label Sep 12, 2024
@cycleccc cycleccc self-assigned this Sep 12, 2024
cycleccc added a commit that referenced this issue Sep 12, 2024
@cycleccc
Copy link
Owner Author

20240914_182025.mp4

本地同步已基本实现,第二步完善多用户光标展示。

@cycleccc
Copy link
Owner Author

20240922_211231.mp4

react 框架下的光标同步已基本实现,待完善 vue3 框架下的光标同步(目前只考虑 vue3 下的同步实现)

@cycleccc
Copy link
Owner Author

已发布 yjs、yjs-for-react 实验包,根据以下路径中的样例可以在实现基础的多人协同
https://github.com/cycleccc/wangEditor-next/blob/master/packages/yjs/examples/frontend/package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant