mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-11 11:45:15 +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>({
|
export const CollaborationCursor = Extension.create<CollaborationCursorOptions>({
|
||||||
name: 'collaborationCursor',
|
name: 'collaborationCursor',
|
||||||
|
|
||||||
priority: 1000,
|
|
||||||
|
|
||||||
defaultOptions: {
|
defaultOptions: {
|
||||||
provider: null,
|
provider: null,
|
||||||
user: {
|
user: {
|
||||||
|
@ -41,6 +41,8 @@ export interface CollaborationOptions {
|
|||||||
export const Collaboration = Extension.create<CollaborationOptions>({
|
export const Collaboration = Extension.create<CollaborationOptions>({
|
||||||
name: 'collaboration',
|
name: 'collaboration',
|
||||||
|
|
||||||
|
priority: 1000,
|
||||||
|
|
||||||
defaultOptions: {
|
defaultOptions: {
|
||||||
document: null,
|
document: null,
|
||||||
field: 'default',
|
field: 'default',
|
||||||
|
Loading…
Reference in New Issue
Block a user