mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
This commit is contained in:
parent
472be34bdf
commit
312e84b025
3 changed files with 6 additions and 4 deletions
|
|
@ -488,6 +488,9 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {
|
|||
if (operation.action === "removeAttrViewView") {
|
||||
item.setAttribute("data-av-type", operation.retData);
|
||||
}
|
||||
if (operation.action === "changeAttrViewLayout") {
|
||||
item.setAttribute("data-av-type", operation.layout);
|
||||
}
|
||||
avRender(item, protyle, () => {
|
||||
const attrElement = document.querySelector(`.b3-dialog--open[data-key="${Constants.DIALOG_ATTR}"] div[data-av-id="${avID}"]`) as HTMLElement;
|
||||
if (attrElement) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue