From 99de70205ceb2c3167305c5a09e6dd18d2b49b94 Mon Sep 17 00:00:00 2001 From: Sergey Gorbachev Date: Mon, 16 Mar 2026 02:43:30 +0300 Subject: [PATCH] [lexical-website] Fix: Correct the mistake in the argument in the example on the Updates page (#8225) --- packages/lexical-website/docs/concepts/updates.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lexical-website/docs/concepts/updates.md b/packages/lexical-website/docs/concepts/updates.md index 75a10f7785e..5e21d48c336 100644 --- a/packages/lexical-website/docs/concepts/updates.md +++ b/packages/lexical-website/docs/concepts/updates.md @@ -56,9 +56,9 @@ editor.registerUpdateListener(({tags}) => { } }); -editor.registerMutationListener(MyNode, (mutations) => { +editor.registerMutationListener(MyNode, (mutatedNodes, { updateTags }) => { // updateTags contains tags from the current update - if (mutations.updateTags.has(HISTORIC_TAG)) { + if (updateTags.has(HISTORIC_TAG)) { // Handle mutations with historic tag } });