Fix "Rename page" command (#190)

This commit is contained in:
Chris Zarate
2022-12-13 09:49:31 +01:00
committed by GitHub
parent ff8d658a2a
commit 996b518d93
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -844,7 +844,7 @@ export class Editor {
console.log("Now renaming page to...", newName);
editor.system.loadedPlugs.get("core")!.invoke(
"renamePage",
[newName],
[{ page: newName }],
).then(() => {
editor.focus();
}).catch(console.error);