mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
🚨
This commit is contained in:
parent
cfbe6a401a
commit
137b437027
4 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue