mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
parent
32fb134675
commit
f89d85cc4e
@ -465,12 +465,14 @@ export default {
|
|||||||
start = anchor
|
start = anchor
|
||||||
end = head
|
end = head
|
||||||
}
|
}
|
||||||
} else if (head.line < anchor.line) {
|
|
||||||
start = head
|
|
||||||
end = anchor
|
|
||||||
} else {
|
} else {
|
||||||
start = head
|
if (head.line < anchor.line) {
|
||||||
end = anchor
|
start = head
|
||||||
|
end = anchor
|
||||||
|
} else {
|
||||||
|
start = anchor
|
||||||
|
end = head
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const rows = []
|
const rows = []
|
||||||
|
Loading…
Reference in New Issue
Block a user