mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-24 09:13:24 +01:00
Destructure texts iterable (#2764)
This commit is contained in:
parent
f76a00acdc
commit
d21cb09a12
@ -552,7 +552,7 @@ function AfterPlugin(options = {}) {
|
||||
|
||||
if (Hotkeys.isExtendBackward(event)) {
|
||||
const startText = document.getNode(start.path)
|
||||
const prevEntry = document.texts({
|
||||
const [prevEntry] = document.texts({
|
||||
path: start.path,
|
||||
direction: 'backward',
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user