mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-07 21:22:34 +01:00
🚨
This commit is contained in:
parent
b399b5e877
commit
eb18429d6e
9 changed files with 20 additions and 21 deletions
|
|
@ -124,7 +124,7 @@ const setHTML = (options: {
|
|||
}
|
||||
protyle.block.showAll = options.action.includes(Constants.CB_GET_ALL);
|
||||
const REMOVED_OVER_HEIGHT = protyle.contentElement.clientHeight * 8;
|
||||
const isUpdate = protyle.wysiwyg.element.innerHTML !== ""
|
||||
const isUpdate = protyle.wysiwyg.element.innerHTML !== "";
|
||||
if (options.action.includes(Constants.CB_GET_APPEND)) {
|
||||
// 动态加载移除
|
||||
if (!protyle.wysiwyg.element.querySelector(".protyle-wysiwyg--select") && !protyle.scroll.keepLazyLoad && protyle.contentElement.scrollHeight > REMOVED_OVER_HEIGHT) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue