🚨
This commit is contained in:
parent
35ef97c25c
commit
2e63ebc2ff
2 changed files with 2 additions and 2 deletions
|
@ -1870,7 +1870,7 @@ export const setFold = (protyle: IProtyle, nodeElement: Element, isOpen?: boolea
|
|||
if (nodeElement.getAttribute("data-type") === "NodeThematicBreak") {
|
||||
return -1;
|
||||
}
|
||||
let hasFold = nodeElement.getAttribute("fold") === "1";
|
||||
const hasFold = nodeElement.getAttribute("fold") === "1";
|
||||
if (hasFold) {
|
||||
if (typeof isOpen === "boolean" && !isOpen) {
|
||||
return -1;
|
||||
|
|
|
@ -1059,7 +1059,7 @@ export const openMenuPanel = (options: {
|
|||
removeAttrViewColAnimation(options.blockElement, colId);
|
||||
options.blockElement.setAttribute("updated", newUpdated);
|
||||
avPanelElement.remove();
|
||||
})
|
||||
});
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue