From 684352b7c6048349e79b2165032dfde425226ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gr=C3=B8ngaard?= Date: Mon, 30 Dec 2024 05:12:45 +0100 Subject: [PATCH] Documentation: Fix typo "nest nest"->"nest" in README.md (#7000) Co-authored-by: Bob Ippolito --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 26fd8abc127..0823f845f73 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ Node Transforms and Command Listeners are called with an implicit `editor.update It is permitted to do nested updates, or nested reads, but an update should not be nested in a read or vice versa. For example, `editor.update(() => editor.update(() => {...}))` is allowed. It is permitted -to nest nest an `editor.read` at the end of an `editor.update`, but this will immediately flush the update +to nest an `editor.read` at the end of an `editor.update`, but this will immediately flush the update and any additional update in that callback will throw an error. All Lexical Nodes are dependent on the associated Editor State. With few exceptions, you should only call methods