From dc47117e5004ef392f92c040ada6581023721fc5 Mon Sep 17 00:00:00 2001 From: Zach Heckert <67928415+zheckert@users.noreply.github.com> Date: Mon, 15 Apr 2024 14:44:39 -0400 Subject: [PATCH 01/14] chore: Fix nested typo in README (#5892) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9390eb81122..d51bf80ce92 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ For those familiar with React Hooks, you can think of these $functions as having Node Transforms and Command Listeners are called with an implicit `editor.update(() => {...})` context. -It is permitted to do nest updates within reads and updates, but an update may not be nested in a read. +It is permitted to do nested updates within reads and updates, but an update may not be nested in a read. For example, `editor.update(() => editor.update(() => {...}))` is allowed. All Lexical Nodes are dependent on the associated Editor State. With few exceptions, you should only call methods From 9bda45c21d081bed06f9ba54d983b767c6bd5cc1 Mon Sep 17 00:00:00 2001 From: wnhlee <40269597+2wheeh@users.noreply.github.com> Date: Tue, 16 Apr 2024 03:46:22 +0900 Subject: [PATCH 02/14] docs: Fix broken style for node overrides example on docs (#5890) --- packages/lexical-website/docs/concepts/node-replacement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lexical-website/docs/concepts/node-replacement.md b/packages/lexical-website/docs/concepts/node-replacement.md index 7c2a45922e9..10d3f06906a 100644 --- a/packages/lexical-website/docs/concepts/node-replacement.md +++ b/packages/lexical-website/docs/concepts/node-replacement.md @@ -25,7 +25,7 @@ const editorConfig = { Once this is done, Lexical will replace all ParagraphNode instances with CustomParagraphNode instances. One important use case for this feature is overriding the serialization behavior of core nodes. Check out the full example below.