mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 18:39:51 +02:00
fix: typo (#3194)
This commit is contained in:
committed by
Ian Storm Taylor
parent
a72d21225e
commit
357e3b8547
@@ -85,7 +85,7 @@ const withShortcuts = editor => {
|
||||
) {
|
||||
Editor.setNodes(editor, { type: 'paragraph' })
|
||||
|
||||
if (match.type === 'list-item') {
|
||||
if (block.type === 'list-item') {
|
||||
Editor.unwrapNodes(editor, { match: { type: 'bulleted-list' } })
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user