mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-05 21:49:06 +01:00
remove old SUPPORTED_EVENTS logic
This commit is contained in:
parent
0b74a37928
commit
d94326512c
@ -111,6 +111,3 @@ export const IS_WINDOWS = os === 'windows'
|
||||
|
||||
export const HAS_INPUT_EVENTS_LEVEL_1 = features.includes('inputeventslevel1')
|
||||
export const HAS_INPUT_EVENTS_LEVEL_2 = features.includes('inputeventslevel2')
|
||||
|
||||
// COMPAT: this is needed for an older version of `slate-react` support.
|
||||
export const SUPPORTED_EVENTS = { beforeinput: HAS_INPUT_EVENTS_LEVEL_2 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user