1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-17 20:51:20 +02:00
Typo fix in documentation
This commit is contained in:
Charanjit Singh
2020-03-11 20:41:42 +05:30
committed by GitHub
parent 7857a68a2b
commit f86f5ca065

View File

@@ -16,7 +16,7 @@ Slate editors come with a few built-in constraints out of the box. These constra
4. **The top-level editor node can only contain block nodes.** If any of the top-level children are inline or text nodes they will be removed. This ensures that there are always block nodes in the editor so that behaviors like "splitting a block in two" work as expected.
These default constraints are all mandated because they make working with Slate documents _much_ more preditable.
These default constraints are all mandated because they make working with Slate documents _much_ more predictable.
> 🤖 Although these constraints are the best we've come up with now, we're always looking for ways to have Slate's built-in constraints be less constraining if possible—as long as it keeps standard behaviors easy to reason about. If you come up with a way to reduce or remove a built-in constraint with a different approach, we're all ears!