1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-11 09:43:58 +02:00

fix onPaste handler on Chrome / Safari (#3396)

* fix onDOMBeforeInput callback definition

* fix onPaste on chrome / safari

* improve comment

* Update editable.tsx

* Create real-suns-matter.md

Co-authored-by: Ian Storm Taylor <ian@ianstormtaylor.com>
This commit is contained in:
cvlmtg
2021-04-01 00:34:04 +02:00
committed by GitHub
parent 7fe41f1566
commit 469e6b26f5
2 changed files with 18 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed allowing the `onPaste` handler to be overridden in all browsers.