mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 02:19:52 +02:00
Fix double insertion due to insertTextData being called when it should not (#4625)
* fix double paste due to insertTextData being called when it should not * Document return type of insertTextData and insert FragmentData * Add changeset
This commit is contained in:
5
.changeset/cool-forks-mix.md
Normal file
5
.changeset/cool-forks-mix.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate-react': minor
|
||||
---
|
||||
|
||||
insertTextData and insertFragmentData return a boolean (true if some content has been effectively inserted)
|
Reference in New Issue
Block a user