1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-21 14:41:23 +02:00

Add origin event type to setFragmentData to be able to distinguish copy, cut and drag (#4720)

* Add origin event to setFragmentData to be able to distinguish copy, cut, drag

* fix lint

* add changeset

* Make originEvent optional
This commit is contained in:
Bryan Haakman
2021-12-08 18:56:11 +01:00
committed by GitHub
parent dc2999a1aa
commit 1217021a9a
5 changed files with 21 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': patch
---
Add origin event type to setFragmentData to be able to distinguish copy, cut and drag