mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 17:40:42 +08:00
This commit is contained in:
parent
d8aa5b24c2
commit
1fe412d03f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user