|
@@ -4,7 +4,7 @@ import {Constants} from "../../../constants";
|
|
|
import {addDragFill, renderCell} from "./cell";
|
|
|
import {unicode2Emoji} from "../../../emoji";
|
|
|
import {focusBlock} from "../../util/selection";
|
|
|
-import {hasClosestBlock, hasClosestByClassName} from "../../util/hasClosest";
|
|
|
+import {hasClosestBlock, hasClosestByAttribute, hasClosestByClassName} from "../../util/hasClosest";
|
|
|
import {stickyRow, updateHeader} from "./row";
|
|
|
import {getCalcValue} from "./calc";
|
|
|
import {renderAVAttribute} from "./blockAttr";
|
|
@@ -251,7 +251,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value, rowIndex)}
|
|
|
${response.data.isMirror ? ` <span data-av-id="${response.data.id}" data-popover-url="/api/av/getMirrorDatabaseBlocks" class="popover__block block__icon block__icon--show ariaLabel" data-position="8bottom" aria-label="${window.siyuan.languages.mirrorTip}">
|
|
|
<svg><use xlink:href="#iconSplitLR"></use></svg></span><div class="fn__space"></div>` : ""}
|
|
|
</div>
|
|
|
- <div contenteditable="${protyle.disabled ? "false" : "true"}" spellcheck="${window.siyuan.config.editor.spellcheck.toString()}" class="av__title${viewData.hideAttrViewName ? " fn__none" : ""}" data-title="${response.data.name || ""}" data-tip="${window.siyuan.languages.title}">${response.data.name || ""}</div>
|
|
|
+ <div contenteditable="${protyle.disabled || hasClosestByAttribute(e, "data-type", "NodeBlockQueryEmbed") ? "false" : "true"}" spellcheck="${window.siyuan.config.editor.spellcheck.toString()}" class="av__title${viewData.hideAttrViewName ? " fn__none" : ""}" data-title="${response.data.name || ""}" data-tip="${window.siyuan.languages.title}">${response.data.name || ""}</div>
|
|
|
<div class="av__counter fn__none"></div>
|
|
|
</div>
|
|
|
<div class="av__scroll">
|