fix: abnormal hyperlink (#189)

修复在某种选中模式下,超链接格式逆位
This commit is contained in:
YangQi 2022-08-23 22:16:44 +08:00 committed by GitHub
parent 32fb134675
commit f89d85cc4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -465,12 +465,14 @@ export default {
start = anchor start = anchor
end = head end = head
} }
} else if (head.line < anchor.line) { } else {
if (head.line < anchor.line) {
start = head start = head
end = anchor end = anchor
} else { } else {
start = head start = anchor
end = anchor end = head
}
} }
const rows = [] const rows = []