mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
f32868a822
commit
aa17cc26b3
1 changed files with 2 additions and 2 deletions
|
|
@ -280,9 +280,9 @@ ${(Lute.New()).MarkdownStr("", data.shorthandContent)}
|
||||||
click: () => {
|
click: () => {
|
||||||
let removeTitle = ""
|
let removeTitle = ""
|
||||||
ids.forEach((id, index) => {
|
ids.forEach((id, index) => {
|
||||||
removeTitle += "<b>" + escapeHtml(this.data[id].shorthandTitle) + "</b>" + (index === ids.length - 1 ? "" : ",")
|
removeTitle += '<code class="fn__code">' + escapeHtml(this.data[id].shorthandTitle) + "</code>" + (index === ids.length - 1 ? "" : ", ")
|
||||||
})
|
})
|
||||||
confirmDialog(window.siyuan.languages.deleteOpConfirm, `${window.siyuan.languages.confirmDelete} ${removeTitle}?`, () => {
|
confirmDialog(window.siyuan.languages.deleteOpConfirm, `${window.siyuan.languages.confirmDelete} ${removeTitle}?`, () => {
|
||||||
if (itemElement) {
|
if (itemElement) {
|
||||||
this.remove(itemElement.dataset.id);
|
this.remove(itemElement.dataset.id);
|
||||||
} else if (detailsElement.classList.contains("fn__none")) {
|
} else if (detailsElement.classList.contains("fn__none")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue