🚨
This commit is contained in:
parent
c2a2e17b00
commit
d9c30ae4ff
3 changed files with 4 additions and 4 deletions
|
@ -656,7 +656,7 @@ export const genImportMenu = (notebookId: string, pathString: string) => {
|
|||
}
|
||||
files.getLeaf(liElement, notebookId);
|
||||
window.siyuan.menus.menu.remove();
|
||||
}
|
||||
};
|
||||
/// #if !BROWSER
|
||||
const importstdmd = (label: string, isDoc?: boolean) => {
|
||||
return {
|
||||
|
|
|
@ -80,7 +80,7 @@ const setPage = (blockElement: Element) => {
|
|||
blockElement.setAttribute("data-page-size", currentCount.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* 前端插入一假行
|
||||
|
@ -119,7 +119,7 @@ ${(item.getAttribute("data-block-id") || item.dataset.dtype === "block") ? ' dat
|
|||
// https://github.com/siyuan-note/siyuan/issues/10517
|
||||
let hideTextCell = false;
|
||||
response.data.filters.find((item: IAVFilter) => {
|
||||
const headerElement = blockElement.querySelector(`.av__cell--header[data-col-id="${item.column}"]`)
|
||||
const headerElement = blockElement.querySelector(`.av__cell--header[data-col-id="${item.column}"]`);
|
||||
if (headerElement && ["relation", "rollup", "template", "created", "updated"].includes(headerElement.getAttribute("dtype"))) {
|
||||
hideTextCell = true;
|
||||
return true;
|
||||
|
|
|
@ -2040,7 +2040,7 @@ export class WYSIWYG {
|
|||
// https://github.com/siyuan-note/siyuan/issues/10513
|
||||
const virtualRefElement = hasClosestByAttribute(event.target, "data-type", "virtual-block-ref");
|
||||
if (virtualRefElement) {
|
||||
const blockElement = hasClosestBlock(virtualRefElement)
|
||||
const blockElement = hasClosestBlock(virtualRefElement);
|
||||
if (blockElement) {
|
||||
fetchPost("/api/block/getBlockDefIDsByRefText", {
|
||||
anchor: virtualRefElement.textContent,
|
||||
|
|
Loading…
Add table
Reference in a new issue