mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-28 17:39:57 +02:00
Save some remove_text calls if the text is zero length (#4193)
* Save some remove_text calls if the text is zero length. * Remove unnecessary !text check - text is always string, and add similar check to 'insert_text' as well * Create giant-adults-matter.md Co-authored-by: Ian Storm Taylor <ian@ianstormtaylor.com>
This commit is contained in:
5
.changeset/giant-adults-matter.md
Normal file
5
.changeset/giant-adults-matter.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
slate: patch
|
||||
---
|
||||
|
||||
Fixed insert and remove text operations to no-op without any text.
|
Reference in New Issue
Block a user