1
0
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:
Ian Storm Taylor
2018-08-16 15:09:40 -07:00
parent 4d31983a94
commit 3bfec770e0

View File

@@ -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 }