This commit is contained in:
Vanessa 2024-02-06 09:16:01 +08:00
parent b640497cf0
commit d01fec553d
3 changed files with 4 additions and 4 deletions

View file

@ -288,7 +288,7 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
/// #endif
cellRect = cellElements[0].getBoundingClientRect();
let html = "";
let height = cellRect.height
let height = cellRect.height;
if (contentElement) {
const contentRect = contentElement.getBoundingClientRect();
if (cellRect.bottom > contentRect.bottom) {