Vanessa 2024-04-06 23:30:07 +08:00
parent 00f7439daf
commit d697f2799f
4 changed files with 12 additions and 20 deletions

View file

@ -49,16 +49,6 @@ export class Title {
this.rename(protyle);
});
this.editElement.addEventListener("click", () => {
if (protyle.model) {
setPanelFocus(protyle.model.element.parentElement.parentElement);
updatePanelByEditor({
protyle: protyle,
focus: false,
pushBackStack: false,
reload: false,
resize: false,
});
}
protyle.toolbar?.element.classList.add("fn__none");
});
this.editElement.addEventListener("input", (event: InputEvent) => {