mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-21 15:56:10 +01:00
This commit is contained in:
parent
cc7b68b6e2
commit
01990007d7
1 changed files with 2 additions and 5 deletions
|
|
@ -184,7 +184,7 @@ export const getEditHTML = (options: {
|
|||
</button>
|
||||
</div>
|
||||
<div class="b3-menu__items fn__none">
|
||||
<button class="b3-menu__item" data-type="nobg" data-col-id="${options.colId}">
|
||||
<button class="b3-menu__item" data-type="nobg" data-col-id="${colData.id}">
|
||||
<span class="block__icon" style="padding: 8px;margin-left: -4px;" data-type="goEditCol">
|
||||
<svg><use xlink:href="#iconLeft"></use></svg>
|
||||
</span>
|
||||
|
|
@ -422,7 +422,7 @@ export const getColIconByType = (type: TAVCol) => {
|
|||
}
|
||||
};
|
||||
|
||||
export const addAttrViewColAnimation = (options: {
|
||||
const addAttrViewColAnimation = (options: {
|
||||
blockElement: Element,
|
||||
protyle: IProtyle,
|
||||
type: TAVCol,
|
||||
|
|
@ -456,9 +456,6 @@ export const addAttrViewColAnimation = (options: {
|
|||
previousElement.insertAdjacentHTML("afterend", html);
|
||||
});
|
||||
window.siyuan.menus.menu.remove();
|
||||
if (options.type !== "relation") {
|
||||
showColMenu(options.protyle, options.blockElement, options.blockElement.querySelector(`.av__row--header .av__cell[data-col-id="${options.id}"]`));
|
||||
}
|
||||
};
|
||||
|
||||
export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElement: HTMLElement) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue