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:
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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user