mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 00:50:56 +08:00
🎨
This commit is contained in:
parent
df1d3d13f3
commit
971b7d4d2b
@ -141,7 +141,8 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
|
||||
if (!type) {
|
||||
type = getTypeByCellElement(cellElements[0]);
|
||||
}
|
||||
if (type === "updated" || type === "created" || document.querySelector(".av__mask")) {
|
||||
if (type === "updated" || type === "created" || document.querySelector(".av__mask") ||
|
||||
cellElements.length === 0 || (cellElements.length === 1 && !cellElements[0])) {
|
||||
return;
|
||||
}
|
||||
if (type === "block" && (cellElements.length > 1 || !cellElements[0].getAttribute("data-detached"))) {
|
||||
|
Loading…
Reference in New Issue
Block a user