mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-25 16:20:49 +02:00
fix table handler args (#1292)
This commit is contained in:
committed by
Ian Storm Taylor
parent
39338d5c58
commit
2e1f9c8f63
@@ -101,9 +101,9 @@ class Tables extends React.Component {
|
||||
}
|
||||
|
||||
switch (event.key) {
|
||||
case 'Backspace': return this.onBackspace(event, state)
|
||||
case 'Delete': return this.onDelete(event, state)
|
||||
case 'Enter': return this.onEnter(event, state)
|
||||
case 'Backspace': return this.onBackspace(event, change)
|
||||
case 'Delete': return this.onDelete(event, change)
|
||||
case 'Enter': return this.onEnter(event, change)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user