mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 07:24:07 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
a3d4aa682f
4 changed files with 6 additions and 6 deletions
|
|
@ -2267,7 +2267,7 @@ export const tableMenu = (protyle: IProtyle, nodeElement: Element, cellElement:
|
|||
} else {
|
||||
nodeElement.querySelector("table").insertAdjacentHTML("afterbegin", html);
|
||||
}
|
||||
nodeElement.setAttribute("caption", Lute.EscapeHTMLStr(`<caption${location === "bottom" ? "caption-side: bottom;" : ""}>${title}</caption>`));
|
||||
nodeElement.setAttribute("caption", Lute.EscapeHTMLStr(`<caption${location === "bottom" ? "caption-side: bottom;" : ""}>` + Lute.EscapeHTMLStr(title) + `</caption>`));
|
||||
} else {
|
||||
if (captionElement) {
|
||||
captionElement.remove();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue