mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-24 10:15:22 +00:00
refac
This commit is contained in:
parent
afaa404fe4
commit
b0d8372d31
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ import {
|
|||
prosemirrorJSONToYDoc
|
||||
} from 'y-prosemirror';
|
||||
import type { Socket } from 'socket.io-client';
|
||||
import type { Awareness } from 'y-protocols/awareness';
|
||||
import type { SessionUser } from '$lib/stores';
|
||||
import { Editor, Extension } from '@tiptap/core';
|
||||
import { keymap } from 'prosemirror-keymap';
|
||||
|
|
@ -72,7 +71,8 @@ export class SocketIOCollaborationProvider {
|
|||
})
|
||||
];
|
||||
|
||||
plugins.push(yCursorPlugin(this.awareness as unknown as Awareness));
|
||||
// @ts-ignore
|
||||
plugins.push(yCursorPlugin(this.awareness));
|
||||
|
||||
return plugins;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue