From 6ef83b42c7ce38db862ae22cdfbcaa26b825f0fc Mon Sep 17 00:00:00 2001
From: Daniel <845765@qq.com>
Date: Tue, 2 Dec 2025 20:33:37 +0800
Subject: [PATCH] :bookmark: Release v3.4.2
Signed-off-by: Daniel <845765@qq.com>
---
app/appx/AppxManifest-arm64.xml | 2 +-
app/appx/AppxManifest.xml | 2 +-
app/package.json | 2 +-
app/src/protyle/wysiwyg/transaction.ts | 6 +++---
kernel/util/working.go | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app/appx/AppxManifest-arm64.xml b/app/appx/AppxManifest-arm64.xml
index 069a62df0..91f1f9410 100644
--- a/app/appx/AppxManifest-arm64.xml
+++ b/app/appx/AppxManifest-arm64.xml
@@ -9,7 +9,7 @@
+ Version="3.4.2.0"/>
SiYuan
云南链滴科技有限公司
diff --git a/app/appx/AppxManifest.xml b/app/appx/AppxManifest.xml
index 082d5f969..47a7160d6 100644
--- a/app/appx/AppxManifest.xml
+++ b/app/appx/AppxManifest.xml
@@ -9,7 +9,7 @@
+ Version="3.4.2.0"/>
SiYuan
云南链滴科技有限公司
diff --git a/app/package.json b/app/package.json
index 84a10b937..a936afd67 100644
--- a/app/package.json
+++ b/app/package.json
@@ -1,6 +1,6 @@
{
"name": "SiYuan",
- "version": "3.4.1",
+ "version": "3.4.2",
"description": "Refactor your thinking",
"homepage": "https://b3log.org/siyuan",
"main": "./electron/main.js",
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts
index e8742debf..02acfa81c 100644
--- a/app/src/protyle/wysiwyg/transaction.ts
+++ b/app/src/protyle/wysiwyg/transaction.ts
@@ -215,9 +215,9 @@ const promiseTransaction = () => {
item.firstElementChild.insertAdjacentHTML("afterend", operation.data);
cursorElements.push(item.firstElementChild.nextElementSibling);
} else if (item.classList.contains("callout") &&
- item.querySelector('[data-node-id]')?.getAttribute("data-node-id") !== operation.id) {
+ item.querySelector("[data-node-id]")?.getAttribute("data-node-id") !== operation.id) {
item.querySelector(".callout-content").insertAdjacentHTML("afterbegin", operation.data);
- cursorElements.push(item.querySelector('[data-node-id]'));
+ cursorElements.push(item.querySelector("[data-node-id]"));
} else if (item.firstElementChild.getAttribute("data-node-id") !== operation.id) {
item.insertAdjacentHTML("afterbegin", operation.data);
cursorElements.push(item.firstElementChild);
@@ -837,7 +837,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
cursorElements.push(item.firstElementChild.nextElementSibling);
} else if (item.classList.contains("callout")) {
item.querySelector(".callout-content").insertAdjacentHTML("afterbegin", operation.data);
- cursorElements.push(item.querySelector('[data-node-id]'));
+ cursorElements.push(item.querySelector("[data-node-id]"));
} else {
item.insertAdjacentHTML("afterbegin", operation.data);
cursorElements.push(item.firstElementChild);
diff --git a/kernel/util/working.go b/kernel/util/working.go
index 4a64f95f2..c493002e2 100644
--- a/kernel/util/working.go
+++ b/kernel/util/working.go
@@ -45,7 +45,7 @@ import (
var Mode = "prod"
const (
- Ver = "3.4.1"
+ Ver = "3.4.2"
IsInsider = false
// env vars as fallback for commandline parameters