mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 18:09:49 +02:00
fix InputEvent global check (#2469)
This commit is contained in:
committed by
Ian Storm Taylor
parent
5395931680
commit
73b4cb423e
@@ -65,7 +65,7 @@ const FEATURE_RULES = [
|
|||||||
[
|
[
|
||||||
'inputeventslevel1',
|
'inputeventslevel1',
|
||||||
window => {
|
window => {
|
||||||
const event = window.InputEvent ? new InputEvent('input') : {}
|
const event = window.InputEvent ? new window.InputEvent('input') : {}
|
||||||
const support = 'inputType' in event
|
const support = 'inputType' in event
|
||||||
return support
|
return support
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user