mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
d8aa5b24c2
commit
1fe412d03f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue