mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
a2329077e7
commit
582f60f574
1 changed files with 1 additions and 0 deletions
|
@ -761,6 +761,7 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {
|
||||||
const attrElement = document.querySelector(`.b3-dialog--open[data-key="${Constants.DIALOG_ATTR}"] .custom-attr > [data-av-id="${avID}"]`) as HTMLElement;
|
const attrElement = document.querySelector(`.b3-dialog--open[data-key="${Constants.DIALOG_ATTR}"] .custom-attr > [data-av-id="${avID}"]`) as HTMLElement;
|
||||||
if (attrElement) {
|
if (attrElement) {
|
||||||
// 更新属性面板
|
// 更新属性面板
|
||||||
|
attrElement.removeAttribute("data-rendering");
|
||||||
renderAVAttribute(attrElement.parentElement, attrElement.dataset.nodeId, protyle);
|
renderAVAttribute(attrElement.parentElement, attrElement.dataset.nodeId, protyle);
|
||||||
} else {
|
} else {
|
||||||
if (operation.action === "insertAttrViewBlock" && operation.context?.ignoreTip !== "true") {
|
if (operation.action === "insertAttrViewBlock" && operation.context?.ignoreTip !== "true") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue