diff --git a/packages/lexical-website/docs/concepts/serialization.md b/packages/lexical-website/docs/concepts/serialization.md index 5ba968e0cf2..5edfeb751af 100644 --- a/packages/lexical-website/docs/concepts/serialization.md +++ b/packages/lexical-website/docs/concepts/serialization.md @@ -381,7 +381,7 @@ export class ExtendedTextNode extends TextNode { } export function $createExtendedTextNode(text: string): ExtendedTextNode { - return new ExtendedTextNode(text, className); + return new ExtendedTextNode(text); } export function $isExtendedTextNode(node: LexicalNode | null | undefined): node is ExtendedTextNode {