From d0d2fbcdfb963dfe56ea0006fb9c681050165801 Mon Sep 17 00:00:00 2001 From: Sevki Date: Sun, 3 Nov 2024 21:02:04 +0000 Subject: [PATCH] Mention nodes shouldn't be spellcheck'd :) --- packages/lexical-playground/src/nodes/MentionNode.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lexical-playground/src/nodes/MentionNode.ts b/packages/lexical-playground/src/nodes/MentionNode.ts index 9f0d6e1423a..b6a41754025 100644 --- a/packages/lexical-playground/src/nodes/MentionNode.ts +++ b/packages/lexical-playground/src/nodes/MentionNode.ts @@ -80,6 +80,7 @@ export class MentionNode extends TextNode { const dom = super.createDOM(config); dom.style.cssText = mentionStyle; dom.className = 'mention'; + dom.spellcheck = false; return dom; }