Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(editor): disable mention node select (#11512)

Flrande8c87d2a39e6e
diff --git a/blocksuite/affine/inlines/mention/src/affine-mention.ts b/blocksuite/affine/inlines/mention/src/affine-mention.ts
index f91bfc0b5f..0ae98fce2d 100644
--- a/blocksuite/affine/inlines/mention/src/affine-mention.ts
+++ b/blocksuite/affine/inlines/mention/src/affine-mention.ts
@@ -29,6 +29,7 @@ export class AffineMention extends SignalWatcher(
line-height: 24px; /* 160% */
padding: 0 4px;
border-radius: 4px;
+ user-select: none;
}
.affine-mention:hover {
background: var(--affine-hover-color);