mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 06:30:14 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
2b14543bd9
commit
6ef83b42c7
5 changed files with 7 additions and 7 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
<Identity Name="89C2A984.SiYuan"
|
<Identity Name="89C2A984.SiYuan"
|
||||||
ProcessorArchitecture="arm64"
|
ProcessorArchitecture="arm64"
|
||||||
Publisher="CN=087C656E-C1D9-42D8-8807-CED45A74FC0F"
|
Publisher="CN=087C656E-C1D9-42D8-8807-CED45A74FC0F"
|
||||||
Version="3.4.1.0"/>
|
Version="3.4.2.0"/>
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>SiYuan</DisplayName>
|
<DisplayName>SiYuan</DisplayName>
|
||||||
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>
|
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<Identity Name="89C2A984.SiYuan"
|
<Identity Name="89C2A984.SiYuan"
|
||||||
ProcessorArchitecture="x64"
|
ProcessorArchitecture="x64"
|
||||||
Publisher="CN=087C656E-C1D9-42D8-8807-CED45A74FC0F"
|
Publisher="CN=087C656E-C1D9-42D8-8807-CED45A74FC0F"
|
||||||
Version="3.4.1.0"/>
|
Version="3.4.2.0"/>
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>SiYuan</DisplayName>
|
<DisplayName>SiYuan</DisplayName>
|
||||||
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>
|
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "SiYuan",
|
"name": "SiYuan",
|
||||||
"version": "3.4.1",
|
"version": "3.4.2",
|
||||||
"description": "Refactor your thinking",
|
"description": "Refactor your thinking",
|
||||||
"homepage": "https://b3log.org/siyuan",
|
"homepage": "https://b3log.org/siyuan",
|
||||||
"main": "./electron/main.js",
|
"main": "./electron/main.js",
|
||||||
|
|
|
||||||
|
|
@ -215,9 +215,9 @@ const promiseTransaction = () => {
|
||||||
item.firstElementChild.insertAdjacentHTML("afterend", operation.data);
|
item.firstElementChild.insertAdjacentHTML("afterend", operation.data);
|
||||||
cursorElements.push(item.firstElementChild.nextElementSibling);
|
cursorElements.push(item.firstElementChild.nextElementSibling);
|
||||||
} else if (item.classList.contains("callout") &&
|
} 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);
|
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) {
|
} else if (item.firstElementChild.getAttribute("data-node-id") !== operation.id) {
|
||||||
item.insertAdjacentHTML("afterbegin", operation.data);
|
item.insertAdjacentHTML("afterbegin", operation.data);
|
||||||
cursorElements.push(item.firstElementChild);
|
cursorElements.push(item.firstElementChild);
|
||||||
|
|
@ -837,7 +837,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
||||||
cursorElements.push(item.firstElementChild.nextElementSibling);
|
cursorElements.push(item.firstElementChild.nextElementSibling);
|
||||||
} else if (item.classList.contains("callout")) {
|
} else if (item.classList.contains("callout")) {
|
||||||
item.querySelector(".callout-content").insertAdjacentHTML("afterbegin", operation.data);
|
item.querySelector(".callout-content").insertAdjacentHTML("afterbegin", operation.data);
|
||||||
cursorElements.push(item.querySelector('[data-node-id]'));
|
cursorElements.push(item.querySelector("[data-node-id]"));
|
||||||
} else {
|
} else {
|
||||||
item.insertAdjacentHTML("afterbegin", operation.data);
|
item.insertAdjacentHTML("afterbegin", operation.data);
|
||||||
cursorElements.push(item.firstElementChild);
|
cursorElements.push(item.firstElementChild);
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ import (
|
||||||
var Mode = "prod"
|
var Mode = "prod"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Ver = "3.4.1"
|
Ver = "3.4.2"
|
||||||
IsInsider = false
|
IsInsider = false
|
||||||
|
|
||||||
// env vars as fallback for commandline parameters
|
// env vars as fallback for commandline parameters
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue