diff --git a/app/src/mobile/editor.ts b/app/src/mobile/editor.ts index df1b1ed03..6584e1d4b 100644 --- a/app/src/mobile/editor.ts +++ b/app/src/mobile/editor.ts @@ -85,7 +85,7 @@ export const openMobileFileById = (id: string, hasContext?: boolean, action = [C } }); } - (document.getElementById("toolbarName") as HTMLInputElement).value = data.data.rootTitle; + (document.getElementById("toolbarName") as HTMLInputElement).value = data.data.rootTitle === "Untitled" ? "" : data.data.rootTitle; setEditor(); closePanel(); if (pushStack) { diff --git a/app/src/mobile/util/initFramework.ts b/app/src/mobile/util/initFramework.ts index 0048fce69..a21fd5380 100644 --- a/app/src/mobile/util/initFramework.ts +++ b/app/src/mobile/util/initFramework.ts @@ -115,6 +115,7 @@ export const initFramework = () => { const initEditorName = () => { const inputElement = document.getElementById("toolbarName") as HTMLInputElement; + inputElement.setAttribute("placeholder", window.siyuan.languages._kernel[16]); inputElement.addEventListener("blur", () => { if (window.siyuan.config.readonly || document.querySelector("#toolbarEdit use").getAttribute("xlink:href") === "#iconEdit") { return;