mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
🎨 All plain text formats are supported when comparing data snapshots https://github.com/siyuan-note/siyuan/issues/12975
This commit is contained in:
parent
641550e1ed
commit
6db7b847e9
5 changed files with 19 additions and 37 deletions
|
|
@ -86,7 +86,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.isProtyleDoc) {
|
||||
} else if (response.data.displayInText) {
|
||||
textElement.value = response.data.content;
|
||||
textElement.classList.remove("fn__none");
|
||||
leftElement.lastElementChild.classList.add("fn__none");
|
||||
|
|
@ -117,7 +117,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.isProtyleDoc) {
|
||||
} else if (response.data.displayInText) {
|
||||
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