mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 01:50:58 +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")) {
|
if(!document.querySelector("#keyboardToolbar").classList.contains("fn__none")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 只读状态下未选中内容时时禁止滑动
|
// 只读状态下选中内容时时禁止滑动
|
||||||
if (getSelection().rangeCount > 0) {
|
if (getSelection().rangeCount > 0) {
|
||||||
// 选中后扩选的情况
|
// 选中后扩选的情况
|
||||||
const range = getSelection().getRangeAt(0);
|
const range = getSelection().getRangeAt(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user