Vanessa 2025-01-05 00:25:38 +08:00
parent d8aa5b24c2
commit 1fe412d03f

View File

@ -178,7 +178,7 @@ export const handleTouchMove = (event: TouchEvent) => {
if(!document.querySelector("#keyboardToolbar").classList.contains("fn__none")) {
return;
}
// 只读状态下选中内容时时禁止滑动
// 只读状态下选中内容时时禁止滑动
if (getSelection().rangeCount > 0) {
// 选中后扩选的情况
const range = getSelection().getRangeAt(0);