diff --git a/packages/lexical/src/LexicalNode.ts b/packages/lexical/src/LexicalNode.ts index 30735fff30b..9509ce726db 100644 --- a/packages/lexical/src/LexicalNode.ts +++ b/packages/lexical/src/LexicalNode.ts @@ -208,7 +208,7 @@ export class LexicalNode { */ getClasses(): ReadonlyClasses { const self = this.getLatest(); - return self.__classes || {}; + return self.__classes; } /**