This commit is contained in:
Vanessa 2023-01-12 17:36:19 +08:00
parent cfbe6a401a
commit 137b437027
4 changed files with 6 additions and 6 deletions

View file

@ -214,7 +214,7 @@ export class Title {
click: async () => {
focusByRange(getEditorRange(this.editElement));
// 不能使用 execCommand https://github.com/siyuan-note/siyuan/issues/7045
const text = await readText()
const text = await readText();
document.execCommand("insertText", false, replaceFileName(text));
this.rename(protyle);
}