Skip to content

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

:sparkles: https://github.com/siyuan-note/siyuan/issues/6290

Vanessad65069640974
diff --git a/app/src/assets/scss/_protyle.scss b/app/src/assets/scss/_protyle.scss
index 3b5ec2d927..f227c0384d 100644
--- a/app/src/assets/scss/_protyle.scss
+++ b/app/src/assets/scss/_protyle.scss
@@ -115,6 +115,10 @@
flex: 1;
min-width: 8px;
transition: var(--b3-transition);
+ color: var(--b3-theme-error);
+ text-align: center;
+ padding: 6px 0;
+ line-height: 18px;
}
&__bar {
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index 60d3f95323..68c32a87f7 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -131,7 +131,8 @@ const setHTML = (options: {
content: string,
action?: string[],
isSyncing: boolean,
- unScroll?: boolean }, protyle: IProtyle) => {
+ unScroll?: boolean
+}, protyle: IProtyle) => {
if (protyle.contentElement.classList.contains("fn__none")) {
return;
}
@@ -286,6 +287,9 @@ const setHTML = (options: {
export const disabledForeverProtyle = (protyle: IProtyle) => {
disabledProtyle(protyle);
+ if (protyle.breadcrumb) {
+ protyle.breadcrumb.element.querySelector(".b3-button").textContent = window.siyuan.languages["_kernel"][81]
+ }
protyle.element.setAttribute("disabled-forever", "true");
}