1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-01 05:16:10 +01:00

fix(markdown-shortcuts): moveFocusToStartOf -> moveFocusToStartOfNode (#2146)

This got a bit mangled during find and replace in 08f270dc1b
This commit is contained in:
Eric Edem 2018-09-04 09:53:46 -07:00 committed by Ian Storm Taylor
parent 54611b7dd7
commit a8cd10ba63

View File

@ -160,7 +160,7 @@ class MarkdownShortcuts extends React.Component {
change.wrapBlock('bulleted-list')
}
change.moveFocusToStartOf(startBlock).delete()
change.moveFocusToStartOfNode(startBlock).delete()
return true
}