This commit is contained in:
Magnus Åhall 2026-06-10 17:24:13 +02:00
parent 9ebda04428
commit 8a22cf569f
2 changed files with 4 additions and 30 deletions

View file

@ -100,7 +100,7 @@ export class N2PageNodeUI extends CustomHTMLElement {
} else
this.elNodeContent.focus({ preventScroll: true })
}// }}}
async renameNode() {
async renameNode() {// {{{
const name = prompt('Change title', this.node.data.Name)
if (name === null)
return
@ -123,7 +123,7 @@ export class N2PageNodeUI extends CustomHTMLElement {
console.error(err)
alert(err)
}
}
}// }}}
async saveNode() {// {{{
if (!this.node.isModified())
return