Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/13207

Vanessa8979101c7420
diff --git a/app/src/assets/scss/protyle/_protyle.scss b/app/src/assets/scss/protyle/_protyle.scss
index cdcee62a83..d4fce1c44b 100644
--- a/app/src/assets/scss/protyle/_protyle.scss
+++ b/app/src/assets/scss/protyle/_protyle.scss
@@ -275,6 +275,10 @@
flex: 1;
scrollbar-gutter: stable;
+ &:focus {
+ outline: none;
+ }
+
&--transition {
.protyle-wysiwyg {
transition: padding .3s cubic-bezier(.25, .46, .45, .94) 0ms;
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts
index 791c6dad0f..a21fff2e3f 100644
--- a/app/src/mobile/util/touch.ts
+++ b/app/src/mobile/util/touch.ts
@@ -49,6 +49,7 @@ export const handleTouchEnd = (event: TouchEvent) => {
if (Math.abs(clientX - event.changedTouches[0].clientX) < 5 && Math.abs(clientY - event.changedTouches[0].clientY) < 5) {
if (editor && editor.protyle.toolbar.isMultiSelectMode()) {
if (longPressTimer) {
+ clearLongPress();
event.stopImmediatePropagation();
event.preventDefault();
return;