* Handle key command for code blocks * * @param {Draft.EditorState} editorState * @param {String} command * @return {Boolean}
(editorState, command)
| 8 | * @return {Boolean} |
| 9 | */ |
| 10 | function handleKeyCommand(editorState, command) { |
| 11 | if (command === 'backspace') { |
| 12 | return removeIndent(editorState); |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | module.exports = handleKeyCommand; |
no test coverage detected