mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-20 15:26:09 +01:00
🎨 Add more file formats supporting snapshots comparing https://github.com/siyuan-note/siyuan/issues/8438
This commit is contained in:
parent
7ebc8f0459
commit
e50a9b4e11
3 changed files with 13 additions and 13 deletions
|
|
@ -75,7 +75,7 @@ const renderCompare = (app: App, element: HTMLElement) => {
|
|||
textElement.previousElementSibling.classList.remove("fn__none");
|
||||
textElement.classList.add("fn__none");
|
||||
leftElement.lastElementChild.classList.add("fn__none");
|
||||
} else if (response.data.isLargeDoc) {
|
||||
} else if (response.data.isProtyleDoc) {
|
||||
textElement.value = response.data.content;
|
||||
textElement.classList.remove("fn__none");
|
||||
leftElement.lastElementChild.classList.add("fn__none");
|
||||
|
|
@ -103,7 +103,7 @@ const renderCompare = (app: App, element: HTMLElement) => {
|
|||
textElement.previousElementSibling.classList.remove("fn__none");
|
||||
textElement.classList.add("fn__none");
|
||||
rightElement.lastElementChild.classList.add("fn__none");
|
||||
} else if (response.data.isLargeDoc) {
|
||||
} else if (response.data.isProtyleDoc) {
|
||||
textElement.value = response.data.content;
|
||||
textElement.classList.remove("fn__none");
|
||||
rightElement.lastElementChild.classList.add("fn__none");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue