mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-23 23:42:56 +02:00
fix(markdown-shortcuts): moveFocusToStartOf -> moveFocusToStartOfNode (#2146)
This got a bit mangled during find and replace in 08f270dc1b
This commit is contained in:
committed by
Ian Storm Taylor
parent
54611b7dd7
commit
a8cd10ba63
@@ -160,7 +160,7 @@ class MarkdownShortcuts extends React.Component {
|
||||
change.wrapBlock('bulleted-list')
|
||||
}
|
||||
|
||||
change.moveFocusToStartOf(startBlock).delete()
|
||||
change.moveFocusToStartOfNode(startBlock).delete()
|
||||
return true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user