Skip to content

Commit

Permalink
Mention nodes shouldn't be spellcheck'd :)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevki authored Nov 3, 2024
1 parent b4eba9e commit d0d2fbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/lexical-playground/src/nodes/MentionNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d0d2fbc

Please sign in to comment.