Prechádzať zdrojové kódy

:art: https://github.com/siyuan-note/siyuan/issues/12308

Vanessa 10 mesiacov pred
rodič
commit
2d4d4568da
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      app/src/protyle/render/av/cell.ts

+ 4 - 0
app/src/protyle/render/av/cell.ts

@@ -593,6 +593,10 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va
                         }
                         }
                     }
                     }
                 }
                 }
+                // https://github.com/siyuan-note/siyuan/issues/12308
+                if (!link) {
+                    name = value;
+                }
                 if (!link && !name && !imgSrc) {
                 if (!link && !name && !imgSrc) {
                     return;
                     return;
                 }
                 }