mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-18 05:01:17 +02:00
fix slate-dev-environment SUPPORTED_EVENTS export
This commit is contained in:
@@ -111,3 +111,6 @@ 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 }
|
||||
|
Reference in New Issue
Block a user