1
0
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:
Ian Storm Taylor 2018-08-16 15:24:19 -07:00
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 }