mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-01 19:22:35 +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' })
|
Editor.setNodes(editor, { type: 'paragraph' })
|
||||||
|
|
||||||
if (match.type === 'list-item') {
|
if (block.type === 'list-item') {
|
||||||
Editor.unwrapNodes(editor, { match: { type: 'bulleted-list' } })
|
Editor.unwrapNodes(editor, { match: { type: 'bulleted-list' } })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user