Open smallCF opened 7 months ago
如何对加入文档的协作者进行限制? 例如我有一篇文章:A用户在一个浏览器打开了2个窗口,进行编辑,如何只显示一个光标或者不进行协同
handleCursorChange 不就可以取到当前所有的协作者吗?然后你判断一下不就只显示一个吗
同理,在服务端想办法获取到当前所有用户然后检测不给连接也行
代码都是开源的可以复制下来改,解决需求就行
Message ID: @.***>
好的,我去梳理一下
如何对加入文档的协作者进行限制? 例如我有一篇文章:A用户在一个浏览器打开了2个窗口,进行编辑,如何只显示一个光标或者不进行协同