import { keyboardEvent } from '../../slate-editor-utils/src' ; import { italicMarkStrategy } from './ItalicUtils' ; const ItalicKeyboardShortcut = ( event , change ) => { if ( keyboardEvent . isMod ( event ) && ! event . shiftKey && event . key === 'i' ) { return italicMarkStrategy ( change ) ; } } ; export default ItalicKeyboardShortcut ;