This commit is contained in:
Vanessa 2023-06-09 21:21:48 +08:00
parent 5831aea56e
commit 3caa569386
3 changed files with 5 additions and 4 deletions

View file

@ -484,7 +484,9 @@ export const updatePanelByEditor = (options: {
) {
return;
}
title = options.protyle.title.editElement.textContent;
if (options.protyle.title) {
title = options.protyle.title.editElement.textContent;
}
if (options.resize) {
resize(options.protyle);
}