mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-06 00:42:59 +08:00
fix: fix plugin order for collab, fix #1973
This commit is contained in:
parent
9e58f3ad55
commit
2b16c2ea96
@ -31,8 +31,6 @@ const awarenessStatesToArray = (states: Map<number, Record<string, any>>) => {
|
||||
export const CollaborationCursor = Extension.create<CollaborationCursorOptions>({
|
||||
name: 'collaborationCursor',
|
||||
|
||||
priority: 1000,
|
||||
|
||||
defaultOptions: {
|
||||
provider: null,
|
||||
user: {
|
||||
|
@ -41,6 +41,8 @@ export interface CollaborationOptions {
|
||||
export const Collaboration = Extension.create<CollaborationOptions>({
|
||||
name: 'collaboration',
|
||||
|
||||
priority: 1000,
|
||||
|
||||
defaultOptions: {
|
||||
document: null,
|
||||
field: 'default',
|
||||
|
Loading…
Reference in New Issue
Block a user