mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 22:21:20 +02:00
add guard checks for value and editor in <Slate /> (#3326)
* add guard checks for value and editor in <Slate /> * adding tiny-invariant to slate-react; refactoring errors * import Editor for guard check * Create fuzzy-yaks-drive.md Co-authored-by: Cameron Ackerman <cameron_ackerman@selinc.com> Co-authored-by: Ian Storm Taylor <ian@ianstormtaylor.com>
This commit is contained in:
5
.changeset/fuzzy-yaks-drive.md
Normal file
5
.changeset/fuzzy-yaks-drive.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Added invariants when passing invalud `value` or `editor` props to `<Editable>`.
|
Reference in New Issue
Block a user