diff --git a/packages/lexical/src/nodes/LexicalParagraphNode.ts b/packages/lexical/src/nodes/LexicalParagraphNode.ts index 6bef34f6271..036799b3b71 100644 --- a/packages/lexical/src/nodes/LexicalParagraphNode.ts +++ b/packages/lexical/src/nodes/LexicalParagraphNode.ts @@ -74,7 +74,7 @@ export class ParagraphNode extends ElementNode { hasTextFormat(type: TextFormatType): boolean { const formatFlag = TEXT_TYPE_TO_FORMAT[type]; -return (this.getTextFormat() & formatFlag) !== 0; + return (this.getTextFormat() & formatFlag) !== 0; } /**