fix(editor): support mention user itself (#11133)

This commit is contained in:
Flrande committed 2025-03-24 10:42:50 +00:00
1 parent 3bd8c5320b
commit 7e248a1379
3 files changed
+28 -7

No files matched your search

@@ -12,7 +12,7 @@ export const MentionInlineSpecExtension =
schema: z
.object({
member: z.string(),
notification: z.string(),
notification: z.string().optional(),
})
.optional()
.nullable()
+1 -1
View File
@@ -75,7 +75,7 @@ export interface AffineTextAttributes {
footnote?: FootNote | null;
mention?: {
member: string;
notification: string;
notification?: string;
} | null;
}