From b86439d5895e0eeff3a7bb73e12faefccdb6bb39 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 28 Oct 2024 10:25:34 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12948 --- app/src/history/doc.ts | 8 ++++++-- app/src/history/history.ts | 13 ++++++++----- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/app/src/history/doc.ts b/app/src/history/doc.ts index 108471a85..a985f6eab 100644 --- a/app/src/history/doc.ts +++ b/app/src/history/doc.ts @@ -66,8 +66,11 @@ export const openDocHistory = (options: {
  • ${window.siyuan.languages.emptyContent}
  • - -
    +
    +
    + +
    +
    `; const dialog = new Dialog({ title:`
    @@ -165,6 +168,7 @@ export const openDocHistory = (options: { action: [Constants.CB_GET_HISTORY, Constants.CB_GET_HTML], }); } + dialog.element.querySelector('.protyle-title__input').textContent = item.title; isLoading = false; }); target.parentElement.querySelector(".b3-list-item--focus")?.classList.remove("b3-list-item--focus"); diff --git a/app/src/history/history.ts b/app/src/history/history.ts index 9769f2ff6..7d39aadc5 100644 --- a/app/src/history/history.ts +++ b/app/src/history/history.ts @@ -397,9 +397,12 @@ export const openHistory = (app: App) => {
  • ${window.siyuan.languages.emptyContent}
  • -
    - -
    +
    +
    +
    + +
    +