From cf6145dc6e8b7e23e3274821b87d76c0b0388fd6 Mon Sep 17 00:00:00 2001 From: Sunny Hirai Date: Tue, 25 May 2021 18:52:36 -0700 Subject: [PATCH] docs: minor grammatical fix --- docs/api/nodes/element.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/nodes/element.md b/docs/api/nodes/element.md index d572d108f..875aa895c 100644 --- a/docs/api/nodes/element.md +++ b/docs/api/nodes/element.md @@ -24,11 +24,11 @@ Element nodes behave differently depending on the [Slate editor's configuration] ### Block vs. Inline -A "block" element can only be siblings with other "block" elements. AN "inline" node can be siblings with `Text` nodes or other "inline" elements. +A "block" element can only be siblings with other "block" elements. An "inline" node can be siblings with `Text` nodes or other "inline" elements. ### Void vs Not Void -In a not "void" element, Slate handles the rendering of its `children` (e.g. in a paragraph where the `Text` and `Inline` children are rendered by Slate). In a "void" element, the `children` are rendered by the `Element`s render code. +In a not "void" element, Slate handles the rendering of its `children` (e.g. in a paragraph where the `Text` and `Inline` children are rendered by Slate). In a "void" element, the `children` are rendered by the `Element`'s render code. ## Static methods