This commit is contained in:
Vanessa 2023-06-18 00:40:36 +08:00
parent ecfa676bc7
commit d05d444c66

View file

@ -113,7 +113,7 @@ const setHTML = (options: {
expand: boolean,
scrollAttr?: IScrollAttr
}, protyle: IProtyle) => {
if (protyle.contentElement.classList.contains("fn__none")) {
if (protyle.contentElement.classList.contains("fn__none") && protyle.wysiwyg.element.innerHTML !== "") {
return;
}
protyle.block.showAll = options.action.includes(Constants.CB_GET_ALL);