diff --git a/packages/lexical-link/src/index.ts b/packages/lexical-link/src/index.ts index 7db3bb1aab0..0bf5161d957 100644 --- a/packages/lexical-link/src/index.ts +++ b/packages/lexical-link/src/index.ts @@ -367,7 +367,7 @@ export class AutoLinkNode extends LinkNode { ); if ($isElementNode(element)) { const linkNode = $createAutoLinkNode(this.__url, { - rel: this._rel, + rel: this.__rel, target: this.__target, title: this.__title, });