mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 21:48:06 +01:00
🎨 Title localization when creating a document https://github.com/siyuan-note/siyuan/issues/10719
This commit is contained in:
parent
f5043a8c46
commit
2a8809bc7e
25 changed files with 72 additions and 61 deletions
|
|
@ -619,7 +619,7 @@ ${genHintItemHTML(item)}
|
|||
fetchPost("/api/filetree/createDoc", {
|
||||
notebook: protyle.notebookId,
|
||||
path: pathPosix().join(getDisplayName(protyle.path, false, true), newSubDocId + ".sy"),
|
||||
title: "Untitled",
|
||||
title: window.siyuan.languages.untitled,
|
||||
md: ""
|
||||
}, () => {
|
||||
insertHTML(`<span data-type="block-ref" data-id="${newSubDocId}" data-subtype="d">Untitled</span>`, protyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue