mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-26 02:35:58 +08:00
fix(editor): support mention user itself (#11133)
This commit is contained in:
@@ -12,7 +12,7 @@ export const MentionInlineSpecExtension =
|
||||
schema: z
|
||||
.object({
|
||||
member: z.string(),
|
||||
notification: z.string(),
|
||||
notification: z.string().optional(),
|
||||
})
|
||||
.optional()
|
||||
.nullable()
|
||||
|
||||
@@ -75,7 +75,7 @@ export interface AffineTextAttributes {
|
||||
footnote?: FootNote | null;
|
||||
mention?: {
|
||||
member: string;
|
||||
notification: string;
|
||||
notification?: string;
|
||||
} | null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user