fix: add collabration cursor (#865)
This commit is contained in:
@@ -173,6 +173,8 @@ export class AffineProvider extends BaseProvider {
|
|||||||
}://${window.location.host}/api/sync/`;
|
}://${window.location.host}/api/sync/`;
|
||||||
ws = new WebsocketProvider(wsUrl, room, doc, {
|
ws = new WebsocketProvider(wsUrl, room, doc, {
|
||||||
params: { token: this._apis.token.refresh },
|
params: { token: this._apis.token.refresh },
|
||||||
|
// @ts-expect-error ignore the type
|
||||||
|
awareness: workspace.awarenessStore.awareness,
|
||||||
});
|
});
|
||||||
this._wsMap.set(workspace, ws);
|
this._wsMap.set(workspace, ws);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user