1
0
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:
Eric Charles
2021-10-27 06:09:36 +02:00
committed by GitHub
parent 02e9245646
commit e54f2a0ea0
4 changed files with 22 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': minor
---
insertTextData and insertFragmentData return a boolean (true if some content has been effectively inserted)